/* Estilos responsivos para la sección de inicio de LikeCheck */

/* Estilos base para la sección principal */
.section-container {
    padding: 60px 0;
    background: linear-gradient(135deg, #c9e2ff 0%, #e1f1ff 50%, #f7fbff 100%);
    overflow: hidden;
}

/* Contenedor principal */
.likecheck-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Estilos para el hero section */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 0 15px 30px 0;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    color: #1a237e;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-highlight {
    color: #1a73e8;
    font-weight: 600;
}

.hero-button {
    background-color: #4285f4;
    color: white;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.2);
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.hero-button i {
    margin-left: 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.25);
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.hero-video {
    flex: 1 1 55%;
    min-width: 300px;
    padding: 15px;
}

.video-container {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.video-container:hover {
    transform: translateY(-5px);
}

/* Estilos para la sección del mapa */
.map-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 60px auto;
    max-width: 1200px;
    padding: 40px 20px;
    background: transparent;
    overflow: visible;
}

.map-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    text-align: center;
    background: transparent;
}

.contenedor-mapa {
    display: inline-block;
    background: transparent !important;
    animation: floatMapa 5s ease-in-out infinite;
    transition: all 0.3s ease;
    max-width: 100%;
}

.contenedor-mapa:hover {
    animation-play-state: paused;
    transform: scale(1.03) !important;
}

.map-text {
    flex: 1;
    min-width: 300px;
    padding: 20px 15px;
    margin-left: 20px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.map-text h2 {
    font-size: 2.2rem;
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.map-highlight {
    color: #4285f4;
}

/* Animación del mapa */
@keyframes floatMapa {
    0% { 
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }
    50% { 
        transform: translateY(-15px) rotate(0.5deg);
        filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    }
    100% { 
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    }
}

/* Estilos para el carrusel de empresas */
.companies-section {
    margin: 10px auto;
    max-width: 1200px;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.2em;
    font-weight: 600;
    position: relative;
}

.section-title span {
    background: linear-gradient(135deg, #c9e2ff 0%, #e1f1ff 50%, #f7fbff 100%);
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    z-index: 0;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .map-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, 
    .hero-video {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0 0 30px 0;
    }
    
    .map-section {
        flex-direction: column;
        text-align: center;
    }
    
    .map-text {
        margin-left: 0;
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    .hero-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
    
    .map-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    
    .section-title:after {
        bottom: 5px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.1rem;
    }
    
    .map-text h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3em;
    }
    
    .section-title span {
        padding: 0 15px;
    }
    
    .hero-button {
        width: 100%;
        justify-content: center;
    }
}

/* Carrusel de marcas */
.swiper-container {
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    background: white;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.swiper-slide img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Navegación */
.swiper-button-next,
.swiper-button-prev {
    color: #3498db;
    width: 25px;
    height: 25px;
    background: white;
    transform: translateY(-50%);
}

.swiper-button-next { right: 0; }
.swiper-button-prev { left: 0; }

/* Puntos de paginación */
.swiper-pagination {
    margin-top: 15px;
}

.swiper-pagination-bullet {
    background: #3498db;
    opacity: 0.3;
    width: 8px;
    height: 8px;
    margin: 0 3px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Responsive */
@media (min-width: 1200px) {
    .swiper-slide {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 991px) {
    .swiper-slide {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 100px;
        height: 100px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        width: 80px;
        height: 80px;
    }
}

/* Estilos para el iframe del video */
.video-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .video-iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .video-iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .video-iframe {
        height: 250px;
    }
}

/* Estilos para el carrusel de empresas */
.companies-section {
    padding: 30px 0;
    margin: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #1a237e;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.swiper-container {
    padding: 10px 40px;
    position: relative;
    overflow: visible;
}

.section-title span {
    position: relative;
    z-index: 1;
    padding: 0 25px;
    background: linear-gradient(135deg, #f8faff 0%, #e9f0ff 100%);
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #8ab4f8);
    border-radius: 3px;
}

.section-title::before {
    left: -100px;
}

.section-title::after {
    right: -100px;
}

.swiper-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 70px;
    position: relative;
    box-sizing: border-box;
}

.swiper-wrapper {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex !important; /* Forzar display flex */
    justify-content: center;
    align-items: center;
    padding: 30px;
    height: auto;
    position: relative;
    border: 1px solid rgba(26, 115, 232, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    margin: 0 auto;
    opacity: 0.7;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover::before {
    opacity: 1;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.swiper-slide:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.2);
    border-color: rgba(26, 115, 232, 0.3);
}

.swiper-slide:hover img {
    filter: grayscale(0) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-next,
.swiper-button-prev {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #1a73e8;
    top: 50%;
    margin-top: -30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.companies-section:hover .swiper-button-next,
.companies-section:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #1a73e8;
    color: white;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.3);
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 4px;
    border-radius: 2px;
    background: #c7d8ff;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.swiper-pagination-bullet-active {
    background: #1a73e8;
    transform: scaleX(1.5);
    box-shadow: 0 0 15px rgba(26, 115, 232, 0.7);
}

/* Efecto de brillo al pasar el ratón */
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.swiper-slide:hover::after {
    transform: translateX(200%) skewX(-15deg);
}

/* Efecto de partículas sutiles */
.companies-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 180, 248, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(26, 115, 232, 0.1) 0%, transparent 20%);
    pointer-events: none;
    z-index: 1;
}

/* Efecto de borde sutil al pasar el ratón */
.swiper-slide {
    position: relative;
    z-index: 1;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(135deg, #1a73e8, #8ab4f8);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    -webkit-mask-composite: exclude;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover::before {
    opacity: 1;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.85 !important;
    transform: scale(0.95) !important;
    z-index: 1;
}

.swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1024px) {
    .swiper-container {
        padding: 0 50px;
    }
    
    .swiper-slide {
        height: 120px;
    }
    
    .swiper-slide-active {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .companies-section {
        padding: 30px 0;
        margin: 30px 0;
    }
    
    .swiper-container {
        padding: 0 40px;
    }
    
    .swiper-slide {
        height: 100px;
        padding: 15px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem;
    }
}

/* Ajustes para móviles */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .swiper-container {
        padding: 0 30px;
    }
    
    .swiper-slide {
        height: 120px;
        padding: 15px;
    }
    
    .swiper-slide-active {
        transform: scale(1.2);
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
}
