/* Nuevo archivo CSS consolidado */

/* Contenedor principal */
.offer {
    position: relative;
    width: 100% !important;
    overflow: hidden !important;
    min-height: 550px; /* Ajusta al alto de tus tarjetas */
}

/* Regla para todas las listas de planes */
ul.offer_ul {
    display: flex !important; /* Siempre en flex para que no se amontonen */
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    
    /* TRUCO: Mandarlos lejos en lugar de ocultarlos */
    position: absolute;
    top: 0;
    left: -9999px; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Solo el slider activo vuelve a su posicion */
ul.offer_ul.active-slider {
    position: relative !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Tarjetas individuales al 100% */
ul.offer_ul .offer_li {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    scroll-snap-align: start !important;
}

ul.offer_ul::-webkit-scrollbar {
    display: none !important;
}

/* NUEVOS ESTILOS PARA LANDING */


/* Barra de Autoridad y Partners */
    .trust-bar-seo {
        padding: 30px 0;
        background: #f8fafc !important;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    
    .status-indicator {
        position: absolute;
        bottom: 5px;
        right: 5px;
        background: #00e676;
        border-radius: 50%;
        width: 12px;
        height: 12px;
        border: 2px solid #fff;
    }
    
    .saas-badge {
        background: #f1f5f9;
        color: #475569;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 10px;
        border-radius: 6px;
        text-transform: uppercase;
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }


/* 1. Estado inicial del logo */
    .tech-item-saas {
        filter: grayscale(100%);     /* Convierte el logo a blanco y negro */
        opacity: 0.5;                /* Lo hace semi-transparente para no distraer */
        transition: all 0.4s ease;   /* Define que el cambio durará 0.4 segundos y será suave */
    }
        
/* 2. Estado cuando el usuario pone el mouse encima */
    .tech-item-saas:hover {
        filter: grayscale(0%);       /* Devuelve el color original del logo */
        opacity: 1;                  /* Le da nitidez total (100% opacidad) */
        transform: scale(1.05);      /* Lo agranda un 5% sutilmente para dar feedback de clic */
    }
        
        
/* Estilos específicos para el Agitador SaaS */

    .section-loss-agitator {
        padding: 100px 0;
        background: radial-gradient(circle at top right, #1a364d, #0F2738);
        color: #fff;
    }

    .loss-card-agitator {
        background: rgba(255, 255, 255, 0.03);
        border: 1.5px dashed rgba(242, 85, 85, 0.5);
        padding: 40px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
    }
    .loss-card-agitator:hover {
        border-color: rgba(242, 85, 85, 1);
        background: rgba(255, 255, 255, 0.05);
    }
    .loss-list li {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 18px !important;
        font-size: 17px;
        color: rgba(255, 255, 255, 0.9);
    }
    .loss-icon {
        color: #F25555;
        font-size: 20px;
        flex-shrink: 0;
    }
    
    /* Tarjetas de Paz Visual */
    .card-purpose-saas {
        background: #ffffff;
        border: 1px solid #f1f5f9;
        padding: 45px 35px;
        border-radius: 16px;
        transition: all 0.4s ease;
        height: 100%;
    }
    
    .card-purpose-saas:hover {
        border-color: #e2e8f0;
        box-shadow: 0 20px 40px rgba(15, 39, 56, 0.05);
        transform: translateY(-5px);
    }
    
    .icon-wrap-saas {
        margin-bottom: 25px;
        color: #0F2738;
        font-size: 32px;
    }
    
    .metodologia-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    }
    .metodologia-lista li {
        font-size: 15px;
        color: #475569;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    .metodologia-lista i {
        color: #0F2738;
        font-size: 14px;
        margin-top: 4px;
    }
    
    
    
    .step-item {
    padding-left: 30px;
    border-left: 2px solid #e2e8f0;
    position: relative;
    margin-bottom: 30px;
    }
    .step-item::before {
        content: '';
        position: absolute;
        left: -7px;
        top: 0;
        width: 12px;
        height: 12px;
        background: #F25555;
        border-radius: 50%;
    }
    .step-number {
        font-size: 11px;
        font-weight: 800;
        color: #F25555;
        text-transform: uppercase;
        display: block;
        margin-bottom: 5px;
    }
    
    
    
    /* Contenedor de pasos estilo Grid SaaS */
.step-grid-item {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 35px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.step-grid-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 15px 30px rgba(15, 39, 56, 0.04);
}

.step-tag {
    font-size: 10px;
    font-weight: 800;
    color: #F25555;
    background: rgba(242, 85, 85, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}


.pricing-switch-container {
    display: flex;
    justify-content: center;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto 40px;
}
.switch-opt {
    padding: 6px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
    color: #64748b;
    display: flex;
    flex-direction: column; /* Apila el badge arriba del texto */
    align-items: center;
    justify-content: center;
    gap: 1px; /* Espacio sutil entre el badge y el texto */
    min-width: 150px; /* Para que todos tengan el mismo ancho */
}

.switch-opt.active {
    background: #0F2738;
    color: #fff;
}
.discount-tag {
    font-size: 10px;
    color: #00e676;
    margin-left: 5px;
}

.discount-badge {
    background: #FFD700; /* Amarillo Premium */
    color: #0F2738;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px; /* Más pequeño y fino */
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}
.old-price-text {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 13px;
    color: #64748b;
}

.old-price-container {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.old-price-label {
    font-size: 13px;
    color: #475569; /* Gris oscuro para máxima legibilidad */
    font-weight: 500;
}
.old-price-number {
    text-decoration: line-through;
    color: #64748b;
    opacity: 0.8;
    font-weight: 600;
}
.discount-badge-yellow {
    background: #ffe86f;
    color: #0F2738;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 10px;
}


/* Ajuste sutil para el badge dentro del switch */
.switch-opt .discount-badge-yellow {
    margin: 0; /* Quitamos el margen lateral anterior */
    font-size: 10px; /* Más pequeño para que no sea agresivo */
    padding: 2px 6px;
    line-height: 1;
}

    /* Aplicamos solo el efecto de elevación y suavidad del Hero a la clase original */
    .button_theme {
        transition: all 0.3s ease-in-out !important;
    }
    .button_theme:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(15, 39, 56, 0.15);
    }
    
/* Oculta los iconos de tecnología en pantallas menores a 768px (móviles) */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}    

@media (min-width: 768px) {
    .hide-pc {
        display: none !important;
    }
}   
    
/* Ajuste de tamaño para títulos en dispositivos móviles */
@media (max-width: 767px) {
    .seo-hero-title {
        font-size: 42px !important; /* Ajusta el tamaño general del h1 */
    }
    
    .seo-hero-title .title-secondary {
        font-size: 23px !important; /* Ajusta específicamente la segunda línea */
        line-height: 1.2 !important;
    }
}

/* Ajuste de margen para separar bloques en móviles */
@media (max-width: 767px) {
    .space-mobile {
        margin-bottom: 35px !important; /* Separa el párrafo del bloque de Optimización de Rastreo */
    }
    
    .col-md-7 div {
        padding-right: 0 !important; /* Elimina el padding lateral en móvil para centrar el contenido */
    }
}

/* Ajuste de margen para separar bloques en móviles */
@media (max-width: 767px) {
    .space-mobile2 {
        margin-bottom: 60px !important; /* Separa el párrafo del bloque de Optimización de Rastreo */
    }
}

/* Ajuste de margen para la cabecera de planes en móviles */
@media (max-width: 767px) {
    .space-mobile-minus {
        margin-bottom: 0px !important; /* El !important es necesario para vencer al estilo en línea */
    }
}

/* Ajustes SWITCH para móviles (menos de 767px) */
@media (max-width: 767px) {
    .pricing-switch-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Prohíbe que los botones se bajen a otra línea */
        overflow-x: auto !important; /* Activa el scroll horizontal */
        overflow-y: hidden !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 20px 10px !important;
        gap: 12px !important;
        /* Estilo para que se note que hay scroll */
        -ms-overflow-style: none;  /* IE y Edge */
        scrollbar-width: none;  /* Firefox */
    }

    /* Ocultar barra de scroll para que se vea limpio como una App */
    .pricing-switch-container::-webkit-scrollbar {
        display: none;
    }

    .switch-opt {
        flex: 0 0 auto !important; /* Crucial: impide que el botón se encoja para caber */
        min-width: 140px !important; /* Fuerza un ancho que obligue al scroll */
        text-align: center !important;
    }
}


@media (max-width: 767px) {
    /* Selector de máxima prioridad */
    h2#metodo-titulo-movil {
        font-size: 26px !important; /* Lo bajamos a 24px para asegurar que notes el cambio */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        display: block !important;
    }
}

/* Aplicación del fondo Gainsboro en el Hero */
.seo-hero-section {
    background-color: gainsboro !important; /* Gainsboro */
    /* Opción con degradado sutil para suavizar la transición */
    background: linear-gradient(0deg, gainsboro 0%, whitesmoke 100%);
}

.seo-bg-section {
    background-color: #1a364d !important; /* Gainsboro */
    /* Opción con degradado sutil para suavizar la transición */
    background: linear-gradient(180deg, #1a364d 0%, #030b11 100%)!important;
}

/* Nuevo archivo CSS consolidado */

/* Contenedor principal */
.offer {
    position: relative;
    width: 100% !important;
    overflow: hidden !important;
    min-height: 550px; /* Ajusta al alto de tus tarjetas */
}

/* Regla para todas las listas de planes */
ul.offer_ul {
    display: flex !important; /* Siempre en flex para que no se amontonen */
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    
    /* TRUCO: Mandarlos lejos en lugar de ocultarlos */
    position: absolute;
    top: 0;
    left: -9999px; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Solo el slider activo vuelve a su posicion */
ul.offer_ul.active-slider {
    position: relative !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Tarjetas individuales al 100% */
ul.offer_ul .offer_li {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    scroll-snap-align: start !important;
}

ul.offer_ul::-webkit-scrollbar {
    display: none !important;
}