:root {
    --primary: #1a73e8; /* Tu azul exacto del ERP */
    --primary-dark: #1557b0;
    --secondary: #28a745; /* Tu verde exacto del ERP */
    --dark: #1c1e21;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-gray: #5f6368;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Botones */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline {
    background-color: #f0f7ff;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Cabecera (Hero) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    background: linear-gradient(135deg, #ffffff 0%, #e8f0fe 100%);
    min-height: 80vh;
}

.hero-content {
    max-width: 50%;
}

.badge {
    background-color: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    width: 45%;
    display: flex;
    justify-content: center;
}

.mockup img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid white;
}

/* Features */
.features {
    padding: 6rem 5%;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #e5e7eb;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.3rem;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* App Promo (Tarifas) */
.app-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    background-color: #1a237e; /* Azul muy oscuro para contrastar con tu app negra */
    color: var(--white);
}

.app-content {
    max-width: 50%;
}

.app-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.pricing-box {
    margin-top: 2.5rem;
    background-color: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 1rem 0;
}

.app-image img {
    max-width: 70%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: bold;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}
/* Alerta Furgonetas */
.alert-section {
    padding: 2rem 5% 5rem;
    background-color: var(--white);
    display: flex;
    justify-content: center;
}

.alert-container {
    background-color: #fff5f5; /* Fondo rojizo suave */
    border-left: 8px solid #dc3545; /* Borde rojo de alerta */
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.15);
}

.alert-icon {
    font-size: 5rem;
    line-height: 1;
}

.alert-content h2 {
    color: #b02a37; /* Rojo oscuro para el título */
    margin-bottom: 1rem;
    font-size: 2rem;
}

.alert-content p {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.highlight-text {
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    color: #842029;
    margin-top: 1rem;
    border: 1px solid #f5c2c7;
}

/* Ajuste móvil para la alerta */
@media (max-width: 768px) {
    .alert-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
}

/* Responsive Móviles */
@media (max-width: 768px) {
    .nav-links, .nav-buttons .btn-outline {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 5%;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
    }

    .app-promo {
        flex-direction: column;
        text-align: center;
    }

    .app-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .app-image img {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links a {
        margin: 0 1rem;
    }
    /* Botón Flotante WhatsApp */
.whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-flotante:hover {
    background-color: #128c7e;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
}

/* En móviles lo ponemos un poco más pequeño y ajustamos el margen */
@media (max-width: 768px) {
    .whatsapp-flotante {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-flotante svg {
        width: 28px;
        height: 28px;
    }
}
/* =========================================
   DISEÑO ACORDEÓN PARA LEYES DE TRANSPORTE
   ========================================= */
.leyes-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.ley-card {
    background: white;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.ley-card:hover {
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.15);
    border-color: var(--primary);
}

/* El título en el que se hace clic */
.ley-card summary {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    cursor: pointer;
    list-style: none; /* Quita la flecha fea por defecto */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ocultar flechas nativas en todos los navegadores */
.ley-card summary::-webkit-details-marker { display: none; }

/* Nuestra flecha/icono guay a la derecha */
.ley-card summary::after {
    content: '▼';
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

/* Cuando se abre, la flecha gira y el título se pone azul */
.ley-card[open] summary::after {
    transform: rotate(180deg);
}
.ley-card[open] summary {
    color: var(--primary);
    border-bottom: 1px solid #f3f4f6;
}

/* El texto que se despliega */
.ley-content {
    padding: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    background-color: #fafbfc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.ley-content p {
    margin-bottom: 1rem;
}
.ley-content p:last-child {
    margin-bottom: 0;
}
}