* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    /* Reemplaza con tu imagen de ciudad */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('fondo-ciudad.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 0 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.btn-demo {
    background-color: #f39c12;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Contenedor del Hero letras de Monitorea tú mismo tus vehículos */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #f39c12;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-main {
    text-decoration: none;
    background: #fff;
    color: #333;
    padding: 15px 40px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-image img {
    max-width: 400px;
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.5));
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-image img {
        max-width: 250px;
        margin-top: 30px;
    }
}

.clients-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.clients-section p {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.logos-slide {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}
/* Ajusta el tamaño de tus logos */
.logos-slide img {
    height: 60px; /* Ajusta el tamaño de tus logos */
    filter: grayscale(100%); /* Hace los logos grises para que no distraigan */
    opacity: 0.6;
    transition: 0.3s;
}

.logos-slide img:hover {
    filter: grayscale(0%); /* Color original al pasar el mouse */
    opacity: 1;
}

/* Responsive: Para celulares se ponen en filas */
@media (max-width: 768px) {
    .logos-slide {
        flex-wrap: wrap;
        justify-content: center;
    }
}
.logos-area {
    padding: 50px 0;
    background: #fff;
    overflow: hidden;
    text-align: center;
}

.logos-area p {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.logos-slider {
    display: flex;
    width: 100%;
}

.logos-track {
    display: flex;
    gap: 60px; /* Espacio entre logos */
    animation: scroll-infinito 40s linear infinite; /* Velocidad del movimiento */
}

.logos-track img {
    height: 45px; /* Altura de los logos */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.logos-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Animación que mueve los logos de derecha a izquierda */
@keyframes scroll-infinito {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5)); /* Ajusta según el ancho de tus logos */
    }
}

/* Detener el movimiento al pasar el mouse */
.logos-track:hover {
    animation-play-state: paused;
}


.celular-animado {
    /* Estado inicial: un poco más abajo y transparente */
    opacity: 0;
    transform: translateY(50px); 
    
    /* Aplicamos la animación */
    animation: aparecerCelular 0.8s ease-out forwards;
    animation-delay: 0.5s; /* Espera un poco para que el texto cargue primero */
}

@keyframes aparecerCelular {
    to {
        opacity: 1;
        transform: translateY(0); /* Sube a su posición original */
    }
}

/* Agrega esto si quieres que el celular "flote" siempre */
.celular-animado {
    animation: aparecerCelular 1.2s ease-out forwards, 
               flotar 3s ease-in-out infinite 1.7s; /* Empieza después de entrar */
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Estilo base para que el brillo sea visible */
.btn-demo, .btn-main {
    position: relative;
    overflow: hidden; /* Necesario para el efecto de brillo */
    transition: transform 0.3s ease;
    z-index: 1;
}

/* 1. EFECTO DE PULSO: Hace que el botón "crezca" suavemente */
.btn-demo {
    animation: pulsoBtn 2s infinite;
}

@keyframes pulsoBtn {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 165, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 165, 0, 0); }
}



@keyframes brilloSolar {
    0% { left: -60%; }
    30% { left: 130%; } /* El brillo cruza rápido */
    100% { left: 130%; } /* Pausa antes de repetir */
}

/* Hover: Se detiene un poco al poner el mouse */
.btn-demo:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Botón circular flotante */
.contact-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffa500;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    font-weight: bold;
    transition: 0.3s;
}

/* Panel que se desliza */
.contact-panel {
    position: fixed;
    bottom: -500px; /* Escondido abajo */
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: 0.5s ease-in-out;
}

.contact-panel.active { bottom: 0; }

.panel-header {
    background: #333;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    border-radius: 15px 15px 0 0;
}

#gps-form { padding: 20px; display: flex; flex-direction: column; gap: 10px; }

#gps-form input, #gps-form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-send {
    background: #25d366; /* Color WhatsApp */
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* --- OPTIMIZACIÓN PARA CELULARES (Responsive) --- */

@media (max-width: 768px) {
    /* 1. Ajuste del Menú */
    .navbar {
        padding: 15px;
        flex-direction: column; /* Logo arriba, links abajo */
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    /* 2. Ajuste del Contenido Principal (Hero) */
    .hero-container {
        flex-direction: column; /* Texto arriba, imagen abajo */
        text-align: center;
        padding: 20px;
        margin-top: 50px;
    }

    .hero-text h1 {
        font-size: 28px; /* Letra un poco más pequeña para que quepa */
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* 3. Ajuste de las Tarjetas de Planes */
    .pricing-cards {
        flex-direction: column; /* Un plan debajo del otro */
        align-items: center;
        width: 100%;
    }

    .card {
        width: 90%; /* Que ocupen casi todo el ancho del celular */
        margin-bottom: 15px;
    }

    /* 4. Ajuste de la Imagen del Celular */
    .hero-image {
        margin-top: 40px;
    }

    .hero-image img {
        width: 70%; /* Que no ocupe toda la pantalla para que se vea el fondo */
        max-width: 250px;
    }

    
}

.offer-banner {
    background: linear-gradient(135deg, #1565C0 0%, #0d47a1 100%); /* El Azul de tu logo */
    padding: 60px 20px;
    color: white;
    text-align: center;
    margin-top: 40px;
}

.offer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.offer-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.offer-text p {
    font-size: 18px;
    opacity: 0.9;
}

/* Botón con el Naranja exacto de tu logo */
.btn-cta-orange {
    background-color: #FF8F00; 
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta-orange:hover {
    background-color: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.offer-action span {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.7;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .offer-text h2 { font-size: 24px; }
    .offer-text p { font-size: 16px; }
}

.main-footer {
    background-color: #1a1a1a; /* Un gris casi negro para que resalte el azul */
    color: #ffffff;
    padding: 60px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo { height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1); } /* Hace el logo blanco para el fondo oscuro */

.footer-col h4 {
    color: #FF8F00; /* Tu Naranja */
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; color: #ccc; }


.reclamaciones {
    margin-top: 15px;
}

.reclamaciones img {
    width: 120px; /* Tamaño ideal para footer */
    height: auto;
    transition: transform 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.reclamaciones img:hover {
    transform: scale(1.05); /* Efecto de aumento suave */
    filter: brightness(1.1);
}

.reclamaciones p {
    font-size: 14px;
    color: #ffffff; /* Ajusta según tu fondo */
    margin: 0;
}


.social-links a {
    color: #1565C0; /* Tu Azul */
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .footer-bottom { text-align: center; justify-content: center; gap: 20px; }
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px; /* Distancia del borde inferior */
    right: 30px;  /* Distancia del borde derecho */
    width: 65px;
    height: 65px;
    background-color: #25d366; /* Color oficial WhatsApp */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e; /* Un verde más oscuro al pasar el mouse */
    transform: scale(1.1); /* Agranda un poquito al tocarlo */
}

/* Animación de Pulso */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste para móviles: un poco más pequeño para no estorbar */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}
/* Franja de Copyright */
.footer-bottom {
    background-color: #111; /* Un tono un poco más oscuro que el footer */
    padding: 20px 0;
    margin-top: 40px;       /* Separa la franja de las columnas */
    border-top: 1px solid #333; /* Una línea sutil divisoria */
    text-align: center;
}

.footer-bottom p {
    color: #888;           /* Color de texto suave */
    font-size: 13px;
    margin: 5px 0;
}

.footer-bottom strong {
    color: #ff9900;        /* Resalta el nombre de tu empresa */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 15px 10px;
    }
}

.main-header {
    position: sticky;       /* Hace que el menú se quede pegado */
    top: 0;                /* Posición exacta donde se detiene */
    width: 100%;
    background-color: #ffffff; /* Color de fondo del menú */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Sombra para dar profundidad */
    z-index: 2000;         /* Para que esté POR ENCIMA de todo (incluso del botón de WhatsApp) */
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff9900; /* Color de acento al pasar el mouse */
}

/* <!-- Pregunta 1 -->*/
.faq-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.faq-question:hover {
    color: #ff9900;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* Clase para rotar el icono cuando está abierto */
.faq-item.active i {
    transform: rotate(180px);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Ajusta según el largo de tu texto */
}
.planes-gps { padding: 50px 5%; text-align: center; background: #f9f9f9; }
.tabla-precios { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }

.plan-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.plan-card.destacado {
    border: 2px solid #ff9900;
    transform: scale(1.05);
}

.etiqueta {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9900;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.precio { font-size: 2.5rem; font-weight: bold; margin: 20px 0; color: #333; }
.precio span { font-size: 1rem; color: #888; }

.plan-card ul { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; }
.plan-card ul li { margin-bottom: 10px; color: #555; }
.plan-card i { color: #25d366; margin-right: 10px; }
.plan-card i.fa-times { color: #ff4444; }

.btn-plan {
    display: inline-block;
    padding: 12px 25px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.plan-card.destacado .btn-plan { background: #ff9900; }
.btn-plan:hover { opacity: 0.9; }
.legal-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.legal-links a {
    color: #ff9900;
    text-decoration: underline;
    font-weight: bold;
}

.soporte-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.soporte-header { text-align: center; margin-bottom: 50px; }
.soporte-header h1 { color: #333; font-size: 2.5rem; }

.soporte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.soporte-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.soporte-card i { font-size: 40px; color: #ff9900; margin-bottom: 15px; }

/* Estilo para Emergencia */
.soporte-card.emergencia { border: 2px solid #ff4444; }
.soporte-card.emergencia i { color: #ff4444; }

.btn-emergencia {
    display: block;
    background: #ff4444;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}

.btn-soporte {
    display: block;
    background: #333;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

/* Formulario */
.soporte-form-section {
    background: #f4f4f4;
    padding: 40px;
    border-radius: 15px;
}

.ticket-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { display: flex; gap: 15px; }
.form-group input { flex: 1; }

.ticket-form input, .ticket-form select, .ticket-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.btn-enviar {
    background: #ff9900;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-enviar:hover { background: #e68a00; }

@media (max-width: 768px) {
    .form-group { flex-direction: column; }
}
.estado-servicio-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 25px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.estado-indicador {
    display: flex;
    align-items: center;
    gap: 12px;
}

.estado-indicador p { margin: 0; font-size: 15px; }

/* El punto verde que parpadea */
.punto-latente {
    width: 12px;
    height: 12px;
    background-color: #25d366; /* Verde si todo está bien */
    border-radius: 50%;
    position: relative;
}

.punto-latente::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    position: absolute;
    animation: pulsar 2s infinite;
    opacity: 0.6;
}

@keyframes pulsar {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.estado-info {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.estado-info i { color: #888; }

/* Responsive */
@media (max-width: 768px) {
    .estado-servicio-box { flex-direction: column; gap: 15px; text-align: center; }
    .estado-info { flex-direction: column; gap: 5px; }
}


.testimonios-section {
    padding: 80px 5%;
    background-color: #ffffff;
    text-align: center;
}

.titulo-seccion { font-size: 2.5rem; color: #333; margin-bottom: 10px; }
.subtitulo { color: #777; margin-bottom: 50px; }

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonio-card {
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    border-bottom: 4px solid #ff9900; /* Línea de color de marca */
}

.comillas {
    font-size: 30px;
    color: #ff9900;
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonio-texto {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonio-texto strong {
    color: #333;
}

.cliente-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cliente-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.cliente-info h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.cliente-info span {
    font-size: 13px;
    color: #888;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .titulo-seccion { font-size: 1.8rem; }
}

/* Contenedor del fondo */
.hero-section {
    position: relative;
    overflow: hidden; /* Importante para que el movimiento no se salga */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-animado {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; /* Se queda atrás de todo */
}

/* LA IMAGEN CON MOVIMIENTO */
.img-ken-burns {
    width: 110%; /* Un poco más grande para el margen de movimiento */
    height: 110%;
    object-fit: cover;
    animation: movimientoCiudad 20s ease-in-out infinite alternate;
}

@keyframes movimientoCiudad {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

/* Capa para que el texto sea legible */
.capa-oscura {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscurece la imagen un 60% */
}

/* Asegurar que el contenido se vea blanco sobre el fondo */
.hero-text h1, .hero-text p {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-text span {
    color: #ffa500; /* Naranja GPS */
}

/* Efecto de Zoom al Logo */
.logo img {
    height: 130px; 
    width: auto;
    transition: transform 0.3s ease; /* Hace que el movimiento sea suave */
    cursor: pointer;
}

.logo img:hover {
    transform: scale(1.1); /* Agranda el logo un 10% */
}

