/* --- Variables de Color y Tipografía --- */
:root {
    --color-primary: #0051a8; /* Azul principal */
    --color-secondary: #facc15; /* Amarillo de acento */
    --color-dark: #414141; /* Casi negro para texto */
}

body {
    font-family: 'Inter', sans-serif;
}

/* --- Estilos de la Barra de Navegación --- */
.navbar-brand img {
    height: 2.5rem;
}

.color-text {
    color: #414141;
}

/* --- Estilos de la Sección Héroe --- */
.hero-section {
    position: relative;
    color: white;
    background-image: url('/assets/img/gestiondeflotas.webp');
    background-size: cover;
    background-position: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--color-primary);
    opacity: 0.85;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.text-highlight-yellow {
    color: var(--color-secondary);
    font-weight: 600;
}

/* --- Botón de Llamada a la Acción (CTA) --- */
.cta-button, .cta-button:focus {
    background-color: var(--color-secondary);
    color: var(--color-dark) !important;
    border-color: var(--color-secondary);
    box-shadow: none !important; /* Remove Bootstrap's focus shadow */
    transition: all 0.2s ease-in-out;
    padding: 6px 24px;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #eab308; /* Un amarillo un poco más oscuro */
    border-color: #eab308;
    color: var(--color-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}


/* --- Tarjetas de Soluciones --- */
.solution-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    height: 100%;
}
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}
.solution-icon-wrapper {
    margin: 0 auto 1.5rem auto;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background-color: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
}
.solution-icon-wrapper i {
    font-size: 1.75rem;
    color: var(--color-primary);
}

/* --- Acordeón de FAQ --- */
.accordion-button:not(.collapsed) {
    color: var(--color-dark);
    background-color: #f8f9fa;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* --- Sección CTA Final --- */
.cta-final-section {
    background-color: var(--color-primary);
}

/* --- Footer --- */
.footer-bg {
    background-color: #1f2937;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
}

.accordion-body {
    background-color: #edf6fd
}

.color-accordion {
    color: var(--color-primary);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: var(--color-primary);
}

iframe {
    margin-top: -20px;
}

.lead {
    font-size: 1.10rem;
    font-weight: 300;
}

/* --- Estilos para el Botón Flotante de WhatsApp --- */
.whatsapp-float-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0; /* Oculto por defecto */
    transform: scale(0); /* Oculto por defecto */
}

.whatsapp-float-button:hover {
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
}

/* Clase para mostrar el botón con animación */
.whatsapp-float-button.is-visible {
    opacity: 1;
    transform: scale(1);
}