/* ============================================
   SECTORES CAROUSEL - CLEAN PRECISE 3D
   Ajuste de perspectiva y legibilidad
   ============================================ */

:root {
    --apx-primary: #7C3AED;
    --apx-indigo-dark: #121833;
    --apx-purple-tab: #4C1D95;
    --apx-bg-light: #F8FAFC;
    --apx-card-white: #FFFFFF;
}

.sectores-3d-section {
    padding: 6rem 0;
    background: var(--apx-bg-light);
    overflow: hidden;
    position: relative;
}

.carousel-3d-wrapper {
    width: 100%;
    margin-top: 1rem;
    perspective: 1200px;
    /* Perspectiva balanceada */
}

/* ============================================
   SWIPER CONFIGURATION
   ============================================ */
.sectoresSwiper {
    width: 100%;
    padding: 60px 0 100px;
    overflow: visible !important;
}

.sectoresSwiper .swiper-slide {
    width: 320px;
    height: auto;
    transition: all 0.5s ease-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
}

/* Estado de tarjetas no activas */
.sectoresSwiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.7;
}

.sectoresSwiper .swiper-slide-active {
    opacity: 1 !important;
    z-index: 50 !important;
}

/* ============================================
   DISEÑO DE TARJETA (CARD)
   ============================================ */
.sector-card {
    background: var(--apx-card-white);
    padding: 3rem 2.2rem;
    width: 100%;
    min-height: 480px;
    position: relative;
    transition: all 0.4s ease;
    color: #1E293B;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);

    /* Clip-path mejorado para ser más robusto en 3D */
    clip-path: polygon(0% 0%, 75% 0%, 100% 18%, 100% 90%, 82% 90%, 75% 100%, 0% 100%, 0% 55%, 4% 50%, 0% 45%);
}

/* Tarjeta Activa */
.swiper-slide-active .sector-card {
    background: var(--apx-indigo-dark);
    color: #FFFFFF;
    box-shadow: 0 25px 50px rgba(18, 24, 51, 0.25);
    transform: scale(1.1);
    /* Escalado suave */
}

/* Pestaña de la Flecha */
.card-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 65px;
    height: 65px;
    background: var(--apx-purple-tab);
    clip-path: polygon(100% 0, 100% 100%, 30% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-arrow i {
    color: #FFFFFF;
    font-size: 1.3rem;
    transform: translate(10px, 6px);
}

/* Elementos */
.card-number {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--apx-primary);
}

.swiper-slide-active .card-number {
    color: #A78BFA;
}

.card-icon {
    margin-bottom: 2rem;
}

.card-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #F97316 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.card-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #7C3AED, #F97316);
    margin-bottom: 1.5rem;
}

.card-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Navegación */
.sectoresSwiper .swiper-button-prev,
.sectoresSwiper .swiper-button-next {
    color: var(--apx-primary);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sectoresSwiper .swiper-button-prev {
    left: 5%;
}

.sectoresSwiper .swiper-button-next {
    right: 5%;
}

@media (max-width: 1200px) {
    .sectoresSwiper .swiper-slide {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .sectoresSwiper .swiper-slide {
        width: 85vw;
    }

    .carousel-3d-wrapper {
        perspective: 1000px;
    }
}

/* ============================================
   STICKY SCROLL EXPERIENCE - PREMIUM REDESIGN
   ============================================ */

.sticky-experience-section {
    padding: 10rem 0;
    background: #FFFFFF;
    position: relative;
    overflow: visible;
}

.sticky-column {
    position: sticky;
    top: 120px;
    height: fit-content;
    padding-right: 2rem;
    z-index: 10;
}

/* Acento vertical decorativo */
.sticky-column::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 4px;
    height: 100px;
    background: linear-gradient(to bottom, var(--apx-primary), transparent);
    border-radius: 2px;
}

.sticky-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--apx-indigo-dark);
    line-height: 1;
    margin-bottom: 2.5rem;
    letter-spacing: -2.5px;
}

.sticky-text {
    font-size: 1.25rem;
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.sticky-arrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--apx-indigo-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.sticky-arrow i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.sticky-experience-section:hover .sticky-arrow i {
    transform: translateX(15px);
}

/* Puntos Minimalistas (Sin cards) */
.point-card {
    background: transparent;
    padding: 2rem 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    /* Quitar radio de tarjeta */
}

.point-card:last-child {
    border-bottom: none;
}

.point-card::after {
    display: none;
    /* Eliminar adorno vertical de tarjeta */
}

.point-card:hover {
    background: transparent;
    box-shadow: none;
    transform: translateX(10px);
}

.point-icon {
    min-width: 32px;
    height: 32px;
    background: #064E3B;
    /* Verde bosque elegante */
    border-radius: 50%;
    /* Círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    margin-top: 0.2rem;
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.15);
}

.point-icon i {
    color: #FFFFFF;
    font-size: 1rem;
}

.point-content p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0;
}

.point-content strong {
    font-weight: 700;
    color: var(--apx-indigo-dark);
}

@media (max-width: 991px) {
    .sticky-column {
        position: relative;
        top: 0;
        margin-bottom: 5rem;
        padding-right: 0;
    }

    .sticky-title {
        font-size: 2.8rem;
    }
}