/* ===== VARIABLES CSS ===== */
:root {
    --color-primary: #0d6efd;
    --color-primary-dark: #0a58ca;
    --color-bg-dark: #000000;
    --color-bg-secondary: #1a1a2e;
    --color-bg-card: #212529;
    --color-bg-input: #2d2d2d;
    --color-text-light: #ffffff;
    --color-text-gray: #e8e8e8;
    --color-text-muted: #aaaaaa;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
    --transition-fast: 0.2s;
    --transition-slow: 0.6s;
    --shadow-primary: 0 10px 20px rgba(13, 110, 253, 0.3);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(13, 110, 253, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 50%;
    --border-glow: 0 0 15px rgba(13, 110, 253, 0.6);
}

/* ===== RESET Y BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--color-bg-dark);
    min-height: 100vh;
    color: var(--color-text-light);
    overflow-x: hidden;
    margin: 0;
    line-height: 1.6;
    position: relative;
}

body.preload {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* ===== TIPOGRAFÍA PREMIUM ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1.3rem;
}

p,
li,
span,
div {
    font-weight: 300;
    color: var(--color-text-gray);
}

/* ===== NAVBAR PREMIUM ===== */
.navbar-dark .navbar-brand {
    color: var(--color-text-light);
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all var(--transition-speed) ease;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(13, 110, 253, 0.6);
    transform: scale(1.05);
}

.navbar-nav {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-nav .nav-link {
    transition: all var(--transition-fast) ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
    box-shadow: var(--border-glow);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

.navbar-toggler {
    padding: 1px 5px;
    font-size: 18px;
    line-height: 0.3;
    border: none;
    transition: all var(--transition-fast) ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d6efd' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== NAVBAR FIJO Y SIEMPRE VISIBLE (AÑADIDO) ===== */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: transparent !important;
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.3);
    padding: 0.8rem 0;
}

/* ===== AJUSTE DE SECCIONES PARA NAVBAR FIJO (AÑADIDO) ===== */
.section-padding,
.about,
.services,
.flota,
.clientes,
.contact {
    padding-top: 100px !important;
    padding-bottom: 70px;
}

/* ===== CAROUSEL OPTIMIZADO (SIN EFECTOS PESADOS) ===== */
.carousel-item {
    height: 80vh;
    min-height: 300px;
    max-height: 900px;
    position: relative;
    overflow: hidden;
}

/* ELIMINADO: ::before con gradiente azul pesado */

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    /* ELIMINADO: transform y transition pesados */
}

/* ELIMINADO: .carousel-item.active img con transform */

.carousel-caption {
    bottom: 200px;
    z-index: 2;
    text-align: center;
    padding: 0 15px;
    animation: fadeInUp 1s ease forwards; /* SOLO animación de aparición */
}

.carousel-caption h5 {
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
    color: var(--color-text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Solo sombra negra */
    /* ELIMINADO: animation glowText azul */
}

.carousel-caption p {
    width: 60%;
    margin: auto;
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-text-light);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* ELIMINADO: .carousel-inner::before con overlay azul */

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease; /* Simplificado */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    /* ELIMINADO: transform scale */
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: var(--color-primary);
    transform: scale(1.3);
    /* ELIMINADO: box-shadow azul */
}

/* ===== ANIMACIÓN SIMPLE DE APARICIÓN ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECCIONES GENERALES ===== */
.services,
.flota,
.clientes,
.contact {
    background: var(--color-bg-dark);
}

/* ===== TÍTULOS CON LÍNEA CENTRADA (CORREGIDO) ===== */
.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 42px;
    color: var(--color-text-light);
    position: relative;
    display: inline-block;
    margin: 0 auto 2.5rem auto;
    padding: 0 0 20px 0;
    z-index: 1;
    line-height: 1.3;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--border-glow);
    z-index: -1;
}

.section-header.revealed h2::before {
    width: 100px;
}

.section-header h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-gray);
    line-height: 1.8;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ===== SECCIÓN ABOUT (NOSOTROS) ===== */
.about {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-secondary) 100%);
    position: relative;
}

.about .about-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.about-img img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
    transition: transform var(--transition-speed) ease;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.about-img:hover img {
    transform: scale(1.08);
}

.about-text h2 {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(13, 110, 253, 0.5);
    line-height: 1.3;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-text-gray);
    line-height: 1.9;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-text .btn {
    font-family: var(--font-secondary);
    font-size: 16px;
    padding: 14px 35px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== HISTÓRICO (TIMELINE) ===== */
.timeline-container .card {
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.year-badge {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
}

.timeline-container .card:hover {
    border-color: var(--color-primary);
}

/* ===== CARDS GENERALES ===== */
.card {
    transition: transform var(--transition-speed) ease,
        box-shadow var(--transition-speed) ease;
    border: none;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    contain: layout style paint;
    will-change: transform;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow) ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-primary), var(--shadow-glow);
}

.card.bg-dark {
    background-color: var(--color-bg-card);
}

.card.text-white,
.card-body.text-white {
    color: var(--color-text-light);
}

.card.text-white h3,
.card.text-white h4,
.card.text-white h5,
.card.text-white p {
    color: var(--color-text-light);
}

.services .card-body i,
.clientes .card-body i {
    font-size: 50px;
    color: var(--color-primary);
    transition: all var(--transition-slow) ease;
    filter: drop-shadow(0 0 10px rgba(13, 110, 253, 0.5));
}

.card:hover .card-body i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(13, 110, 253, 0.8));
}

.flota .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.flota .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.flota .img-area {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.flota .img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.flota .card h3 {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flota .card .lead {
    flex: 1;
    display: flex;
    align-items: center;
}

.flota .card .btn {
    margin-top: auto;
}

/* ===== SECCIÓN CONTACTO ===== */
.contact-info {
    font-size: 15px;
}

.contact-info a {
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.contact-info a:hover {
    color: var(--color-primary);
}

.contact-info i {
    font-size: 18px;
}

.ratio {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== BOTONES PREMIUM ===== */
.btn {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    transition: all var(--transition-speed) ease;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.6);
}

.btn-success {
    transition: all var(--transition-speed) ease;
    background: linear-gradient(135deg, #198754, #146c43);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.6);
}

/* ===== IMÁGENES ===== */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-circle {
    border: 3px solid rgba(13, 110, 253, 0.3);
    transition: border-color var(--transition-speed) ease;
}

.card:hover .rounded-circle {
    border-color: var(--color-primary);
}

/* ===== ANIMACIONES ===== */
.fade-out {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    transition: all var(--transition-speed) ease;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.6);
    transform: translateY(-5px) scale(1.1);
}

/* ===== FORMULARIOS PREMIUM ===== */
.form-control,
.form-select,
select.form-control {
    background-color: var(--color-bg-input);
    border: 1px solid #333;
    color: var(--color-text-light);
    transition: all var(--transition-speed) ease;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus,
.form-select:focus,
select.form-control:focus {
    background-color: var(--color-bg-input);
    border-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25), var(--border-glow);
    outline: none;
}

.form-label {
    color: var(--color-text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

select.form-control option {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-light);
}

/* ===== FOOTER ===== */
footer {
    margin-top: 50px;
    padding: 30px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(13, 110, 253, 0.2);
}

footer p {
    margin-bottom: 0;
    font-size: 14px;
}

/* ===== REDES SOCIALES EN FOOTER - CORREGIDO (NO TAPA EL ÍCONO) ===== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    border: 2px solid rgba(13, 110, 253, 0.3);
    border-radius: 50%;
    color: var(--color-text-light);
    font-size: 1.6rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(13, 110, 253, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.social-icons a i {
    position: relative;
    z-index: 2;
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
}

.social-icons a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.social-icons a:hover::before {
    width: 100px;
    height: 100px;
}

.social-icons a:hover i {
    transform: scale(1.2);
    color: white !important;
}

/* ===== ESTILOS ADICIONALES PARA NUEVAS SECCIONES ===== */
.about .card.bg-dark h4 {
    font-size: 20px;
}

.services .card.border-0 {
    background: linear-gradient(135deg, #212529 0%, #1a1a2e 100%);
}

.services .card.border-0:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d1b2a 100%);
}

.card .bi-truck-front,
.card .bi-clipboard-check,
.card .bi-shield-check,
.card .bi-eye {
    transition: transform var(--transition-speed) ease;
}

.card:hover .bi-truck-front,
.card:hover .bi-clipboard-check,
.card:hover .bi-shield-check,
.card:hover .bi-eye {
    transform: rotate(5deg) scale(1.1);
}

/* ===== FORMULARIOS GAF ===== */
.form-gaf {
    background: var(--color-bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.form-gaf .header-info {
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(13, 110, 253, 0.3);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.form-gaf .section-title {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.form-gaf .form-check-inline {
    margin-right: 15px;
}

.form-gaf .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-gaf .form-check-label {
    font-size: 15px;
    color: var(--color-text-light);
}

.form-gaf table {
    margin-top: 10px;
}

.form-gaf table th,
.form-gaf table td {
    padding: 8px;
    font-size: 14px;
}

.form-gaf table input {
    font-size: 14px;
}

.form-gaf .list-unstyled input[type="checkbox"] {
    margin-right: 8px;
}

.form-gaf .btn-primary {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.form-gaf .btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

/* ===== TABS CLIENTE/PROVEEDOR ===== */
#registroTabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0 15px;
}

#registroTabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px !important;
    border-radius: 12px 12px 0 0 !important;
    border: 2px solid transparent;
    background: var(--color-bg-secondary);
    color: var(--color-text-gray);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#registroTabs .nav-link i {
    font-size: 20px;
    transition: transform var(--transition-speed) ease;
}

#registroTabs .nav-link.active {
    background: linear-gradient(135deg, var(--color-primary), #0a58ca);
    color: white !important;
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    transform: translateY(-3px);
}

#registroTabs .nav-link.active i {
    transform: scale(1.2);
    color: white;
}

#registroTabs .nav-link:hover:not(.active) {
    background: rgba(13, 110, 253, 0.15);
    color: var(--color-primary);
    border-color: rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

#registroTabs .nav-link:hover i {
    transform: scale(1.1);
    color: var(--color-primary);
}

#registroTabs .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

#registroTabs .nav-link:active::after {
    width: 200px;
    height: 200px;
}

/* ===== OCULTAR TÍTULO ===== */
.contact .row.mt-5.pt-5.border-top .section-header {
    display: none;
}

/* ===== ÍCONOS FLOTANTES ===== */
.floating-icons-container i {
    color: #0d6efd;
    opacity: 0.15;
    filter: drop-shadow(0 0 6px rgba(13, 110, 253, 0.3));
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity, filter;
    animation: floatIconPremium 18s infinite ease-in-out;
    animation-delay: calc(var(--delay, 0s) * 1s);
}

@keyframes floatIconPremium {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        opacity: 0.12;
        filter: drop-shadow(0 0 8px rgba(13, 110, 253, 0.4));
    }

    25% {
        transform: translate3d(18px, -28px, 15px) rotate(12deg) scale(1.1);
        opacity: 0.20;
        filter: drop-shadow(0 0 16px rgba(13, 110, 253, 0.7));
    }

    50% {
        transform: translate3d(-15px, -45px, -12px) rotate(-8deg) scale(0.95);
        opacity: 0.25;
        filter: drop-shadow(0 0 20px rgba(13, 110, 253, 0.8));
    }

    75% {
        transform: translate3d(22px, -18px, 20px) rotate(15deg) scale(1.05);
        opacity: 0.18;
        filter: drop-shadow(0 0 14px rgba(13, 110, 253, 0.6));
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(13, 110, 253, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 22px rgba(13, 110, 253, 0.9));
    }
}

.floating-icons-container i::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    animation: pulseGlow calc(18s * 0.7) infinite ease-in-out;
    animation-delay: calc(var(--delay, 0s) * 1.4s);
    pointer-events: none;
    z-index: -1;
}

.services:hover .floating-icons-container i {
    animation-duration: 12s !important;
    opacity: 0.28 !important;
    filter: drop-shadow(0 0 24px rgba(13, 110, 253, 1)) !important;
}

/* ===== CHATBOT IA ===== */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-primary);
}

#chatbot-toggle {
    width: 60px;
    height: 60px;
    font-size: 28px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

#chatbot-toggle:hover {
    transform: scale(1.15) rotate(20deg);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.6);
}

#chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: 95vw;
    border-radius: 18px;
    overflow: hidden;
    transform: scale(0.7) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

#chatbot-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.message-bubble {
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;
}

.user-message .message-bubble {
    background: #0d6efd !important;
    color: white;
    border-radius: 18px 18px 4px 18px;
    margin-left: auto;
}

.user-message {
    justify-content: flex-end;
}

#chatbot-input::placeholder {
    color: #bbb;
}

#chatbot-input:focus {
    background-color: #444 !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.3);
    outline: none;
}

.typing-indicator {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #444;
    border-radius: 18px 18px 18px 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.8);
}

/* ===== SECTION REVEAL CON LÍNEA LATERAL ===== */
.section-padding::before,
.about::before,
.services::before,
.flota::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height 1.2s ease;
    box-shadow: var(--border-glow);
    z-index: 2;
    
}

.revealed::before {
    height: 100%;
}

/* ===== ANIMACIONES GLOBALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowText {
    from {
        text-shadow: 0 0 20px rgba(13, 110, 253, 0.5);
    }

    to {
        text-shadow: 0 0 40px rgba(13, 110, 253, 0.8);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== MEDIA QUERIES – OPTIMIZADO PARA MÓVIL ===== */

/* === TABLET (hasta 991px) === */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 15px 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 14px;
    }

    .about-text {
        padding-top: 30px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .flota .img-area {
        height: 220px;
    }

    .social-icons a {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }

    .carousel-caption p {
        width: 80%;
        font-size: 16px;
    }
}

/* === MÓVIL MEDIANO (hasta 768px) === */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    /* Navbar */
    .navbar {
        padding: 0.6rem 0 !important;
    }

    .navbar-scrolled {
        padding: 0.5rem 0 !important;
    }

    .navbar-brand {
        font-size: 22px !important;
    }

    /* Carousel */
    .carousel-item {
        height: 60vh;
        min-height: 280px;
        max-height: 500px;
    }

    .carousel-caption {
        bottom: 60px;
        padding: 0 10px;
    }

    .carousel-caption h5 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .carousel-caption p {
        font-size: 15px;
        width: 90%;
    }

    /* Secciones */
    .section-padding,
    .about,
    .services,
    .flota,
    .contact {
        padding: 60px 0 !important;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 16px;
        padding: 0 15px;
    }

    /* Cards */
    .card:hover {
        transform: translateY(-8px) scale(1.01) !important;
    }

    .flota .img-area {
        height: 190px;
    }

    /* Botones */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Formularios */
    .form-gaf {
        padding: 20px;
    }

    .form-gaf .section-title {
        font-size: 18px;
    }

    /* Tabs */
    #registroTabs {
        gap: 8px;
        padding: 0 10px;
    }

    #registroTabs .nav-link {
        padding: 12px 20px !important;
        font-size: 14px;
        min-width: 150px;
    }

    /* Chatbot */
    #chatbot-container {
        bottom: 15px;
        right: 15px;
    }

    #chatbot-toggle {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    #chatbot-window {
        width: 340px;
        bottom: 75px;
    }

    /* Scroll to top */
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

/* === MÓVIL PEQUEÑO (hasta 576px) === */
@media (max-width: 576px) {
    html {
        font-size: 14.5px;
    }

    /* Navbar */
    .navbar-brand {
        font-size: 19px !important;
        letter-spacing: 1.5px;
    }

    .navbar-toggler {
        padding: 4px 8px;
        font-size: 16px;
    }

    /* Carousel */
    .carousel-item {
        height: 55vh;
        min-height: 260px;
    }

    .carousel-caption {
        bottom: 50px;
    }

    .carousel-caption h5 {
        font-size: 20px;
        margin-top: 15px;
    }

    .carousel-caption p {
        font-size: 14px;
        width: 95%;
        line-height: 1.7;
    }

    /* Secciones */
    .section-padding,
    .about,
    .services,
    .flota,
    .contact {
        padding: 50px 0 !important;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 15px;
        padding: 0 12px;
    }

    /* About */
    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
    }

    /* Cards */
    .card {
        margin-bottom: 20px;
    }

    .flota .img-area {
        height: 170px;
    }

    .flota .card h3 {
        font-size: 18px;
        min-height: 50px;
    }

    /* Botones */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-primary,
    .btn-success {
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
        display: block;
    }

    /* Footer */
    .social-icons {
        gap: 15px;
        margin-bottom: 15px;
    }

    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    /* Tabs */
    #registroTabs {
        flex-direction: column;
        align-items: center;
    }

    #registroTabs .nav-link {
        width: 100%;
        max-width: 260px;
        padding: 12px 16px !important;
        font-size: 13.5px;
        min-width: auto;
    }

    /* Formularios GAF */
    .form-gaf {
        padding: 18px;
    }

    .form-gaf table th,
    .form-gaf table td {
        padding: 6px;
        font-size: 13px;
    }

    .form-gaf .form-check-inline {
        margin-right: 10px;
        margin-bottom: 8px;
    }

    /* Chatbot */
    #chatbot-window {
        width: calc(100vw - 30px);
        max-width: 95vw;
    }

    .message-bubble {
        font-size: 14px;
        padding: 12px 15px;
    }

    /* Scroll progress */
    #scroll-progress {
        height: 3px;
    }
}

/* === MÓVIL MUY PEQUEÑO (hasta 400px) === */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }

    .navbar-brand {
        font-size: 18px !important;
    }

    .carousel-caption h5 {
        font-size: 18px;
    }

    .carousel-caption p {
        font-size: 13.5px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .flota .img-area {
        height: 150px;
    }

    #registroTabs .nav-link {
        padding: 10px 14px !important;
        font-size: 13px;
    }

    .btn {
        padding: 9px 18px;
        font-size: 13.5px;
    }

    #chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* === ORIENTACIÓN HORIZONTAL EN MÓVIL === */
@media (max-height: 500px) and (orientation: landscape) {
    .carousel-item {
        height: 80vh;
        min-height: 200px;
    }

    .carousel-caption {
        bottom: 30px;
    }

    .carousel-caption h5 {
        font-size: 18px;
    }

    .carousel-caption p {
        font-size: 13px;
        display: none;
    }
}

/* ===== ACCESIBILIDAD ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== UTILIDADES ===== */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.carousel-item .w-100 {
    height: 100%;
    object-fit: cover;
}

.list-unstyled li {
    margin-bottom: 10px;
}

.list-unstyled li i {
    margin-right: 8px;
}

.text-gradient {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    animation: glowText 2s infinite alternate;
}
/* ===== ICONOS: MANTENER BLANCO AL HOVER (CORREGIDO) ===== */
.social-icons a i,
.nav-link i,
.btn i,
.card i,
.floating-icons-container i,
.bi,
i[class^="bi-"],
i[class*=" bi-"] {
    color: white !important;
    transition: all 0.3s ease !important;
}

/* Solo cambia a azul en hover si está dentro de un enlace o botón (opcional) */
.social-icons a:hover i,
.nav-link:hover i,
.btn:hover i,
.card:hover i {
    color: #0d6efd !important;
    filter: drop-shadow(0 0 10px #0d6efd) !important;
    transform: scale(1.15) !important;
}

/* Evita que Bootstrap sobrescriba */
a:hover i,
button:hover i {
    color: inherit !important;
}
/* ===== GALERÍA DE FLOTA ELEGANTE CON SWIPER ===== */

/* Hero Section Flota */
.hero-section-flota {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 50px 0 40px;
    position: relative;
}

.hero-content-flota {
    text-align: center;
    position: relative;
}

.hero-title-flota {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-description-flota {
    font-size: 1rem;
    color: #e8e8e8;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Features Section Flota */
.features-section-flota {
    padding: 50px 0;
    background: #0a0a0a;
}

/* Swiper Container */
.mySwiper {
    width: 100%;
    padding: 80px 20px 100px;
    position: relative;
}

.swiper-wrapper {
    align-items: center;
}

/* Swiper Slides - ESTILO ELEGANTE Y OSCURO */
.swiper-slide {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 0;
    padding: 0;
    width: 380px !important;
    height: auto;
    min-height: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.swiper-slide-active {
    transform: scale(1.05);
    border-color: #d4af37;
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
}

.swiper-slide-active::before {
    opacity: 1;
}

/* Iconos superiores - ELEGANTES */
.icons-flota {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.icon-logo-flota,
.icon-favorite-flota {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.icon-logo-flota i,
.icon-favorite-flota i {
    font-size: 1.2rem;
    color: #d4af37 !important;
    transition: all 0.3s ease;
}

.icon-favorite-flota:hover,
.icon-logo-flota:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: scale(1.1);
}

/* Imagen del vehículo - ELEGANTE */
.vehicle-image-flota {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0;
    position: relative;
    background: #000;
}

.vehicle-image-flota::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.vehicle-image-flota img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.swiper-slide:hover .vehicle-image-flota img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Contenido del card */
.swiper-slide > div:not(.icons-flota):not(.vehicle-image-flota) {
    padding: 30px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Precio - ELEGANTE */
.product-price-flota {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 300;
    color: #d4af37;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* Título del producto - ELEGANTE */
.product-title-flota {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Descripción del producto */
.product-description-flota {
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Especificaciones técnicas - MINIMALISTAS */
.product-specs-flota {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex: 1;
}

.product-specs-flota li {
    font-size: 0.85rem;
    color: #ffffff;
    padding: 8px 0 8px 5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

.product-specs-flota li:last-child {
    border-bottom: none;
}

.product-specs-flota li i {
    color: #d4af37 !important;
    font-size: 1rem;
    min-width: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-specs-flota li:last-child {
    border-bottom: none;
}

.product-specs-flota li i {
    color: #d4af37 !important;
    font-size: 0.9rem;
    min-width: 16px;
}

/* Botón - ELEGANTE Y MINIMALISTA */
.btn-flota {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: transparent;
    color: #d4af37 !important;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid #d4af37;
    border-radius: 0;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.4s ease, color 0.4s ease;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-flota:hover {
    background: #d4af37;
    color: #000000 !important;
    text-decoration: none !important;
}

/* Paginación Swiper - ELEGANTE */
.swiper-pagination {
    bottom: 35px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(212, 175, 55, 0.3);
    opacity: 1;
    transition: all 0.4s ease;
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: #d4af37;
    width: 35px;
    border-radius: 0;
}

/* Botón principal de cotización - ELEGANTE */
.main-action-flota {
    text-align: center;
    margin-top: 60px;
}

.btn-comprar-principal-flota {
    display: inline-block;
    padding: 16px 50px;
    background: transparent;
    color: #d4af37 !important;
    text-decoration: none !important;
    border: 2px solid #d4af37;
    border-radius: 0;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: background 0.4s ease, color 0.4s ease;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-comprar-principal-flota:hover {
    background: #d4af37;
    color: #000000 !important;
    text-decoration: none !important;
}

/* ===== RESPONSIVE ELEGANTE ===== */

/* Tablet */
@media (max-width: 991px) {
    .hero-title-flota {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .hero-description-flota {
        font-size: 0.95rem;
    }
    
    .swiper-slide {
        width: 350px !important;
        min-height: 570px;
    }
    
    .vehicle-image-flota {
        height: 180px;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .hero-section-flota {
        padding: 40px 0 30px;
    }
    
    .hero-title-flota {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .hero-description-flota {
        font-size: 0.9rem;
    }
    
    .features-section-flota {
        padding: 40px 0;
    }
    
    .mySwiper {
        padding: 60px 15px 80px;
    }
    
    .swiper-slide {
        width: 320px !important;
        min-height: 550px;
    }
    
    .vehicle-image-flota {
        height: 170px;
    }
    
    .product-price-flota {
        font-size: 1.8rem;
    }
    
    .product-title-flota {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .product-description-flota {
        font-size: 0.85rem;
    }
    
    .product-specs-flota li {
        font-size: 0.8rem;
        padding: 7px 0 7px 5px;
        gap: 10px;
    }
    
    .product-specs-flota li i {
        font-size: 0.95rem;
    }
    
    .btn-flota {
        padding: 12px 0;
        font-size: 0.8rem;
    }
    
    .btn-comprar-principal-flota {
        padding: 14px 40px;
        font-size: 0.95rem;
        letter-spacing: 2px;
    }
    
    .icon-logo-flota,
    .icon-favorite-flota {
        width: 40px;
        height: 40px;
    }
}

/* Móvil pequeño */
@media (max-width: 576px) {
    .hero-title-flota {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .hero-description-flota {
        font-size: 0.85rem;
        padding: 0 15px;
    }
    
    .mySwiper {
        padding: 50px 10px 70px;
    }
    
    .swiper-slide {
        width: 290px !important;
        min-height: 530px;
    }
    
    .icons-flota {
        padding: 20px 20px 15px;
    }
    
    .vehicle-image-flota {
        height: 160px;
    }
    
    .swiper-slide > div:not(.icons-flota):not(.vehicle-image-flota) {
        padding: 25px 20px 20px;
    }
    
    .product-price-flota {
        font-size: 1.6rem;
    }
    
    .product-title-flota {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }
    
    .product-description-flota {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .product-specs-flota {
        margin-bottom: 20px;
    }
    
    .product-specs-flota li {
        font-size: 0.78rem;
        padding: 6px 0 6px 5px;
        gap: 10px;
    }
    
    .product-specs-flota li i {
        font-size: 0.9rem;
    }
    
    .btn-flota {
        padding: 11px 0;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .btn-comprar-principal-flota {
        padding: 13px 35px;
        font-size: 0.9rem;
    }
    
    .main-action-flota {
        margin-top: 50px;
    }
    
    .icon-logo-flota,
    .icon-favorite-flota {
        width: 38px;
        height: 38px;
    }
    
    .icon-logo-flota i,
    .icon-favorite-flota i {
        font-size: 1.1rem;
    }
    
    .swiper-pagination {
        bottom: 25px !important;
    }
}

/* Móvil muy pequeño */
@media (max-width: 400px) {
    .swiper-slide {
        width: 270px !important;
        min-height: 510px;
    }
    
    .vehicle-image-flota {
        height: 150px;
    }
    
    .product-price-flota {
        font-size: 1.5rem;
    }
    
    .product-title-flota {
        font-size: 1rem;
    }
    
    .btn-comprar-principal-flota {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}
/* ===== SERVICIOS CON IMÁGENES - AMBOS CON BORDE AZUL ===== */

/* ===== SU ALIADO LOGÍSTICO (CON BORDE AZUL) ===== */
.card-servicio-aliado {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(13, 110, 253, 0.2);
    display: flex;
    flex-direction: column;
}

.card-servicio-borde-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    z-index: 2;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
}

.card-servicio-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.card-servicio-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.card-servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(30%) brightness(0.8);
}

.card-servicio-aliado:hover .card-servicio-img img {
    transform: scale(1.15);
    filter: grayscale(0%) brightness(1);
}

.card-servicio-content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-servicio-content h5 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-servicio-content p {
    font-size: 0.9rem;
    color: #e8e8e8;
    margin: 0;
}

.card-servicio-aliado:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.4);
    border-color: #0d6efd;
}

.card-servicio-aliado:hover .card-servicio-borde-top {
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.9);
}

/* ===== SERVICIOS ESPECIALIZADOS (TAMBIÉN CON BORDE AZUL) ===== */
.card-servicio-especializado {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    border: 1px solid rgba(13, 110, 253, 0.2);
    display: flex;
    flex-direction: column;
}

/* BORDE AZUL SUPERIOR PARA ESPECIALIZADOS */
.card-servicio-especializado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    z-index: 3;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
    transition: box-shadow 0.4s ease;
}

.card-servicio-especializado:hover::before {
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.9);
}

.card-servicio-img-especializado {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.card-servicio-img-especializado::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.card-servicio-img-especializado img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: grayscale(20%) brightness(0.9);
}

.card-servicio-especializado:hover .card-servicio-img-especializado img {
    transform: scale(1.12) rotate(2deg);
    filter: grayscale(0%) brightness(1.1);
}

.card-servicio-especializado .card-body {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-servicio-especializado .card-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-servicio-especializado .lead {
    font-size: 0.95rem;
    color: #e8e8e8;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.card-servicio-especializado:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.4);
    border-color: #0d6efd;
}

.card-servicio-especializado .btn {
    margin-top: auto;
    width: 100%;
}

/* ===== EFECTOS ADICIONALES CON GLOW AZUL ===== */
.card-servicio-aliado::after,
.card-servicio-especializado::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.card-servicio-aliado:hover::after,
.card-servicio-especializado:hover::after {
    opacity: 1;
}

/* ===== ANIMACIONES DE ENTRADA ===== */
@keyframes fadeInUpService {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-servicio-aliado,
.card-servicio-especializado {
    animation: fadeInUpService 0.6s ease-out;
}

/* ===== RESPONSIVE - SERVICIOS CON IMÁGENES ===== */

/* Tablet */
@media (max-width: 991px) {
    .card-servicio-img {
        height: 180px;
    }
    
    .card-servicio-img-especializado {
        height: 220px;
    }
    
    .card-servicio-content {
        padding: 20px 15px;
    }
    
    .card-servicio-especializado .card-body {
        padding: 25px 20px;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .card-servicio-img {
        height: 170px;
    }
    
    .card-servicio-img-especializado {
        height: 200px;
    }
    
    .card-servicio-content h5 {
        font-size: 1rem;
    }
    
    .card-servicio-content p {
        font-size: 0.85rem;
    }
    
    .card-servicio-especializado .card-title {
        font-size: 1.15rem;
    }
    
    .card-servicio-especializado .lead {
        font-size: 0.9rem;
    }
}

/* Móvil pequeño */
@media (max-width: 576px) {
    .card-servicio-img {
        height: 160px;
    }
    
    .card-servicio-img-especializado {
        height: 180px;
    }
    
    .card-servicio-borde-top,
    .card-servicio-especializado::before {
        height: 3px;
    }
    
    .card-servicio-content {
        padding: 18px 15px;
    }
    
    .card-servicio-content h5 {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .card-servicio-content p {
        font-size: 0.8rem;
    }
    
    .card-servicio-especializado .card-body {
        padding: 20px 18px;
    }
    
    .card-servicio-especializado .card-title {
        font-size: 1.05rem;
    }
    
    .card-servicio-especializado .lead {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Móvil muy pequeño */
@media (max-width: 400px) {
    .card-servicio-img {
        height: 150px;
    }
    
    .card-servicio-img-especializado {
        height: 170px;
    }
    
    .card-servicio-content h5 {
        font-size: 0.9rem;
    }
    
    .card-servicio-especializado .card-title {
        font-size: 1rem;
    }
}
/* ===== FIX COMPLETO NAVBAR MÓVIL - AGREGAR AL FINAL DE estilos.css ===== */

/* ===== NAVBAR BRAND RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 18px !important;
        letter-spacing: 1px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        max-width: 220px !important;
    }
    
    .navbar > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* ===== MENÚ MÓVIL ORGANIZADO ===== */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98) !important;
        backdrop-filter: blur(10px);
        margin-top: 15px !important;
        padding: 20px 15px !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(13, 110, 253, 0.2) !important;
    }
    
    /* Items del menú bien espaciados */
    .navbar-nav .nav-item {
        margin: 8px 0 !important;
        padding: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        font-size: 16px !important;
        text-align: left !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        background: rgba(13, 110, 253, 0.05) !important;
        border-left: 3px solid transparent !important;
        display: block !important;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(13, 110, 253, 0.15) !important;
        border-left-color: #0d6efd !important;
        transform: translateX(5px) !important;
        color: #0d6efd !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 16px !important;
        max-width: 200px !important;
    }
    
    .navbar .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .navbar-toggler {
        padding: 8px 10px !important;
        font-size: 18px !important;
        border: 2px solid rgba(13, 110, 253, 0.3) !important;
        border-radius: 8px !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.3) !important;
    }
    
    /* Menú móvil ajustado */
    .navbar-collapse {
        margin-top: 12px !important;
        padding: 18px 12px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 14px !important;
        max-width: 180px !important;
        letter-spacing: 0.5px !important;
    }
    
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-scrolled {
        padding: 0.4rem 0 !important;
    }
    
    .navbar-collapse {
        padding: 15px 10px !important;
        margin-top: 10px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 400px) {
    .navbar-brand {
        font-size: 13px !important;
        max-width: 160px !important;
    }
    
    .navbar .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .navbar-toggler {
        padding: 6px 8px !important;
        font-size: 16px !important;
    }
}

/* ===== ANIMACIÓN SUAVE AL ABRIR MENÚ ===== */
.navbar-collapse.collapsing {
    transition: height 0.35s ease !important;
}

.navbar-collapse.show {
    animation: slideDown 0.35s ease-out !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PREVENIR DESBORDAMIENTO ===== */
.navbar,
.navbar .container,
.navbar-brand {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.navbar-brand {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.navbar .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* ===== ICONOS EN MENÚ MÓVIL (OPCIONAL) ===== */
@media (max-width: 991px) {
    /* Si quieres agregar iconos antes de cada link */
    .navbar-nav .nav-link::before {
        content: '▸';
        margin-right: 10px;
        color: #0d6efd;
        font-size: 14px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover::before {
        margin-right: 15px;
    }
}

/* ===== OVERLAY OSCURO CUANDO SE ABRE EL MENÚ (OPCIONAL) ===== */
@media (max-width: 991px) {
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1020;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}
/* ===== ESTILO PARA H1 DEL CARRUSEL ===== */
.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive para tablets */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.2rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
    .carousel-caption h1 {
        font-size: 1rem;
        line-height: 1.3;
    }
}
/* ===== SECCIÓN CERTIFICACIONES ===== */
.certificaciones {
    position: relative;
    overflow: hidden;
}

.certificado-card {
    padding: 20px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(13, 110, 253, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certificado-card:hover {
    transform: translateY(-10px);
    background: rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
}

.certificado-card img {
    object-fit: contain;
    max-width: 100%;
}

.certificado-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(13, 110, 253, 0.5));
}

.certificado-card p {
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .certificado-card {
        padding: 15px;
    }
    
    .certificado-card img {
        max-height: 120px !important;
    }
    
    .certificado-card p {
        font-size: 0.8rem !important;
    }
}
/* ===== SECCIÓN CERTIFICACIONES (MISMO FONDO QUE NOSOTROS) ===== */
.certificaciones {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-secondary) 100%) !important;
}

.certificado-card {
    padding: 20px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(13, 110, 253, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certificado-card:hover {
    transform: translateY(-10px);
    background: rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
}

.certificado-card img {
    object-fit: contain;
    max-width: 100%;
}

.certificado-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(13, 110, 253, 0.5));
}

.certificado-card p {
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .certificado-card {
        padding: 15px;
    }
    
    .certificado-card img {
        max-height: 120px !important;
    }
    
    .certificado-card p {
        font-size: 0.8rem !important;
    }
}

