/* =========================================
   ESTILOS EXCLUSIVOS DEL HOME OFICIAL SEYPRO
   ========================================= */

/* Utilidades Base */
.home-body { background-color: #f8fafc !important; }
.text-seypro-dark { color: #0e1828 !important; }
.text-seypro-orange { color: #ff6f00 !important; }
.text-seypro-blue { color: #0072ce !important; }

.badge-expert {
    background-color: rgba(255, 111, 0, 0.9);
    color: #ffff;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-seypro-orange {
    background-color: #ff6f00; color: white; border: none; transition: all 0.3s ease;
}
.btn-seypro-orange:hover {
    background-color: #e65100; color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 111, 0, 0.3);
}

.btn-seypro-blue {
    background-color: #0072ce; color: white; border: none; transition: all 0.3s ease;
}
.btn-seypro-blue:hover {
    background-color: #005bb5; color: white; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 114, 206, 0.4);
}

/* =========================================
   HERO SECTION & MOCKUP GLOW
   ========================================= */
.hero-home {
    background: linear-gradient(135deg, #0e1828 0%, #0072ce 100%);
    position: relative;
    padding: 6rem 0 10rem 0;
    overflow: hidden;
}

.hero-home::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px;
    background: #f8fafc; clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Resplandor animado detrás del mockup */
.mockup-wrapper { position: relative; display: inline-block; }
.mockup-wrapper::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; height: 90%; background: radial-gradient(circle, rgba(0, 114, 206, 0.6) 0%, transparent 70%);
    z-index: 0; filter: blur(45px); animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes floatMockup {
    0% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) translateY(-15px); }
    100% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
}

.mockup-img {
    position: relative; z-index: 1; border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4); /* Sombra más dramática */
    animation: floatMockup 6s ease-in-out infinite;
}

/* =========================================
   SECCIÓN DE SERVICIOS (TARJETAS VIVAS)
   ========================================= */
.section-subtitle { color: #0072ce; letter-spacing: 2px; font-size: 1.5rem }
.phrase-gps { font-size: 1.25rem; color: #64748b; font-weight: 500; max-width: 750px; margin: 0 auto 2.5rem auto; }

.plan-card {
    background: #ffffff; border-radius: 20px; border: none;
    box-shadow: 0 10px 30px rgba(14, 24, 40, 0.06); /* Sombra base suave */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%; display: flex; flex-direction: column; overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02); /* Se eleva y crece ligeramente */
    box-shadow: 0 30px 60px rgba(0, 114, 206, 0.15); /* Sombra azulada y profunda */
    z-index: 10;
}

.plan-img-wrapper {
    width: 100%; height: 245px; position: relative; background-color: #ffffff; padding: 0rem;
}

.plan-img-wrapper img {
    width: 100%; height: 100%; object-fit: contain; /* Para que el equipo no se recorte */
    transition: transform 0.6s ease;
}

.plan-card:hover .plan-img-wrapper img {
    transform: scale(1.1); /* Efecto Zoom In en la imagen del producto */
}

.plan-price-overlap {
    position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
    background: #0e1828; color: #ffffff; padding: 8px 28px; border-radius: 30px;
    font-weight: bold; font-size: 1.1rem; z-index: 2; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap; transition: background 0.3s ease;
}

.plan-card.premium .plan-price-overlap { background: #ff6f00; }
.plan-card:hover .plan-price-overlap { background: #0072ce; } /* Cambia a azul al hacer hover */
.plan-card.premium:hover .plan-price-overlap { background: #e65100; }

.plan-card-body { padding: 45px 24px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }

/* =========================================
   BANNERS (CERRADURA E INTERNET)
   ========================================= */
.banner-cerradura {
    background: linear-gradient(135deg, #0e1828 0%, #1a2a44 100%);
    border-radius: 24px; color: white; border-left: 6px solid #0072ce;
    box-shadow: 0 20px 40px rgba(14, 24, 40, 0.2); position: relative; overflow: hidden;
}

.banner-inalambrico {
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    border-radius: 24px; color: white;
    box-shadow: 0 20px 40px rgba(255, 111, 0, 0.25); position: relative; overflow: hidden;
}

.feature-icon-wrapper {
    width: 45px; height: 45px; background: rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s ease;
}
.feature-icon-wrapper:hover { transform: scale(1.1); background: rgba(255,255,255,0.3); }

@keyframes floatRouter {
    0% { transform: translateY(0); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2)); }
    50% { transform: translateY(-12px); filter: drop-shadow(0 25px 35px rgba(0,0,0,0.15)); }
    100% { transform: translateY(0); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2)); }
}
.router-img { animation: floatRouter 5s ease-in-out infinite; }

/* Global CTA */
.global-cta {
    background: #ffffff; border-radius: 24px;
    border: 1px solid #e2e8f0; box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

/* =========================================
   ANIMACIONES FLOTANTES UNIVERSALES (PRODUCTOS)
   ========================================= */
@keyframes flotarProducto {
    0% { transform: translateY(0); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25)); }
    50% { transform: translateY(-15px); filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15)); }
    100% { transform: translateY(0); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25)); }
}

.img-flotante {
    animation: flotarProducto 5s ease-in-out infinite;
    max-height: 320px; /* Tamaño ideal para que no rompa el diseño */
    object-fit: contain;
}

/* =========================================
   LLAMADO A LA ACCIÓN GLOBAL (CTA FINAL)
   ========================================= */
.global-cta {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%); /* Degradado celeste muy sutil */
    border-radius: 24px;
    border: 1px solid #e2e8f0; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.global-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 114, 206, 0.12); /* Sombra azulada al pasar el ratón */
}

/* Animación de Latido (Pulse) para el botón final */
@keyframes pulsoBoton {
    0% { box-shadow: 0 0 0 0 rgba(0, 114, 206, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(0, 114, 206, 0); transform: scale(1.03); }
    100% { box-shadow: 0 0 0 0 rgba(0, 114, 206, 0); transform: scale(1); }
}

.btn-latido {
    animation: pulsoBoton 2s infinite;
}

.btn-latido:hover {
    animation: none; /* Se detiene al poner el mouse encima */
    transform: scale(1.05);
    background-color: white;
    color:#0e1828; 
}
 


/* =========================================
   MEJORAS DE ESPACIADO Y JERARQUÍA (ALTURA PROFESIONAL)
   ========================================= */
.banner-cerradura, 
.banner-inalambrico {
    padding: 4rem 2rem !important; /* Más aire vertical en móviles */
}

@media (min-width: 992px) {
    .banner-cerradura, 
    .banner-inalambrico {
        padding: 5rem 4rem !important; /* Altura premium en Escritorio */
    }
}

.titulo-producto-banner {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================================
   SEÑALES DE CONFIANZA (TRUST BADGES)
   ========================================= */
.trust-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgb(255, 255, 255);
    font-weight: 500;
    font-size: 1.2rem;
}

.trust-badge-item i {
    font-size: 2rem;
    color: #0072ce;
}

/* =========================================
   SECCIÓN FINAL: DEGRADADO Y CORTE DIAGONAL
   ========================================= */
.section-final-cta {
    /* 3. Degradado Profesional SEYPRO */
    background: linear-gradient(135deg, #0e1828 0%, #0072ce 100%);
    
    /* 4. Ruptura de línea (Corte Diagonal) */
    clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0% 100%);
    margin-top: -4vw; /* Sube la sección para tapar el espacio en blanco */
    padding-top: 8vw !important; /* Compensa el padding para no tapar el título */
}

/* Sombra para que el representante resalte sobre el fondo oscuro */
.hero-person-img {
    max-height: 100vh; 
    object-fit: contain; 
    margin-bottom: -50px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4)); 
}

/* =========================================
   OVERLAY Y EFECTOS DEL CARRUSEL 3D
   ========================================= */
.swiper-slide {
    /* 1. Forzar bordes redondeados en TODAS las tarjetas en 3D */
    border-radius: 20px !important;
    overflow: hidden !important;
    transform-style: preserve-3d;
    border: 2px solid rgba(255, 255, 255, 0.1); /* Borde luminoso premium */
}

.swiper-slide img.slide-img {
    border-radius: 20px !important; 
}

.swiper-slide .img-overlay {
    background: rgba(0, 114, 206, 0.75);
    opacity: 0;
    transition: all 0.3s ease;
}

.swiper-slide:hover .img-overlay {
    opacity: 1;
}

.cursor-pointer {
    cursor: pointer;
}

/* Botones originales del swiper blancos */
.swiper-button-next, 
.swiper-button-prev {
    color: #ff6f00 !important;
}

/* =========================================
   ESTILOS ESPECÍFICOS DE LA SECCIÓN FINAL
   ========================================= */

/* Título de la sección final */
.final-section-title {
    font-size: 2.5rem;
    text-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Botón de catálogo final */
.btn-final-catalog {
    background-color: #ff6f00;
    font-size: 1.15rem;
    color: white;
}

/* =========================================
   SEÑALES DE CONFIANZA (FOOTER DE LA SECCIÓN)
   ========================================= */
.trust-badge-container {
    background: rgba(0, 0, 0, 0.4); /* Un toque más oscuro para que resalte al superponerse */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    
    /* ¡LA MAGIA PARA SUPERPONER! */
    position: relative; /* Activa el z-index */
    z-index: 2000;      /* Lo pone por encima de la imagen */
    margin-top: -10px;  /* Jala el contenedor hacia arriba para montarlo sobre la persona */
    
    /* Opcional: Efecto cristal para que se vea premium sobre la imagen */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* =========================================
   MODAL VISOR DE IMÁGENES
   ========================================= */
.modal-visor-backdrop {
    backdrop-filter: blur(8px);
}

.modal-close-btn {
    top: 30px;
    right: 30px;
    z-index: 9999;
    padding: 15px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    opacity: 1;
}

.modal-visor-img {
    max-height: 98vh;
    max-width: 98vw;
    object-fit: contain;
}

