/* =====================================================
   CONSULTAS AUTOMOTOR - Estilos Gubernamentales
   ===================================================== */

/* Google Fonts - Tipografía seria/oficial */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&family=Roboto+Slab:wght@400;700&display=swap');

:root {
    /* Colores Gubernamentales Argentina */
    --primary: #0c4b8e;          /* Azul institucional */
    --primary-dark: #083561;      /* Azul oscuro */
    --primary-light: #1565c0;     /* Azul claro */
    --secondary: #37bbed;         /* Celeste argentino */
    --accent: #f5c518;            /* Amarillo/dorado */
    
    /* Neutros */
    --dark: #1a1a2e;
    --gray-900: #212529;
    --gray-700: #495057;
    --gray-500: #6c757d;
    --gray-300: #dee2e6;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    
    /* Estados */
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
    
    /* Tipografía */
    --font-primary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Roboto Slab', Georgia, serif;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-100);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--gray-300);
}

.top-bar a:hover {
    color: var(--white);
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
}

.navbar-brand img {
    height: 45px;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand .brand-text small {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--gray-500);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700) !important;
    padding: 1.2rem 1rem !important;
    position: relative;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary) !important;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Fix dropdown toggle underline */
.nav-item.dropdown .nav-link::after {
    display: none;
}

.nav-item.dropdown .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary) !important;
    transition: width 0.3s ease;
}

.nav-item.dropdown:hover .nav-link::before {
    width: 80%;
}

.navbar .btn-primary {
    margin-left: 1rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--accent);
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #2da8d8;
    border-color: #2da8d8;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* =====================================================
   CARDS DE SERVICIOS
   ===================================================== */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-price {
    margin-bottom: 1.5rem;
}

.price-old {
    text-decoration: line-through;
    color: var(--gray-500);
    font-size: 1rem;
    margin-right: 8px;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.service-card .btn {
    width: 100%;
}

/* Card destacada */
.service-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.service-card.featured::after {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--accent);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
}

/* =====================================================
   FEATURES / BENEFICIOS
   ===================================================== */
.features-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* =====================================================
   COMO FUNCIONA
   ===================================================== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.step-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Línea conectora */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gray-300);
    z-index: 0;
}

/* =====================================================
   ESTADÍSTICAS
   ===================================================== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--gray-300);
    transition: all 0.2s ease;
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--white);
}

/* =====================================================
   FORMULARIOS
   ===================================================== */
.form-control, .form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 75, 142, 0.1);
}

/* Select dropdown mejorado */
.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23495057' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

.form-select option {
    padding: 12px 16px;
    background: var(--white);
    color: var(--gray-900);
}

.form-select option:checked,
.form-select option:hover {
    background: var(--primary);
    color: var(--white);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: ' *';
    color: var(--danger);
}

/* =====================================================
   CHECKOUT
   ===================================================== */
.checkout-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.checkout-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.checkout-header {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
}

.checkout-header h3 {
    color: var(--white);
    margin: 0;
}

.checkout-body {
    padding: 2rem;
}

.order-summary {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.order-summary h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-300);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--gray-300);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.order-total .price {
    color: var(--primary);
}

/* =====================================================
   ALERTAS
   ===================================================== */
.alert {
    border: none;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    border-left: 4px solid;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.alert-success {
    background: #d1e7dd;
    border-left-color: var(--success);
    color: #0f5132;
}

.alert-danger {
    background: #f8d7da;
    border-left-color: var(--danger);
    color: #842029;
}

.alert-warning {
    background: #fff3cd;
    border-left-color: var(--warning);
    color: #664d03;
}

.alert-info {
    background: #cff4fc;
    border-left-color: var(--info);
    color: #055160;
}

/* =====================================================
   BADGES
   ===================================================== */
.badge {
    font-weight: 600;
    padding: 0.5em 0.8em;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

/* =====================================================
   TABLAS
   ===================================================== */
.table {
    background: var(--white);
}

.table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-300);
}

/* =====================================================
   PANEL USUARIO / ADMIN
   ===================================================== */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 40px 0;
}

.dashboard-header h1 {
    color: var(--white);
    margin: 0;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--gray-300);
}

.dashboard-card h3 {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.dashboard-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    color: var(--gray-700);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--gray-100);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-menu li a i {
    width: 20px;
    text-align: center;
}

/* =====================================================
   WHATSAPP FLOTANTE
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

.whatsapp-float i {
    color: var(--white);
    font-size: 2rem;
}

/* =====================================================
   RESPONSIVE - AJUSTES COMPLETOS MOBILE
   ===================================================== */

/* TABLETS Y DISPOSITIVOS MEDIANOS */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .step-item:not(:last-child)::after {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-brand .brand-text small {
        font-size: 0.55rem;
    }
    
    /* Top bar responsive */
    .top-bar {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .top-bar .d-flex {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 8px;
    }
    
    /* Servicios cards */
    .service-card {
        padding: 1.5rem;
    }
    
    /* Sidebar cliente - horizontal */
    .sidebar,
    .cliente-sidebar {
        position: relative !important;
        top: 0 !important;
    }
    
    .sidebar-menu,
    .cliente-sidebar .nav {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .sidebar-menu::-webkit-scrollbar,
    .cliente-sidebar .nav::-webkit-scrollbar {
        display: none;
    }
    
    .sidebar-menu li,
    .cliente-sidebar .nav-link {
        flex-shrink: 0;
    }
    
    .sidebar-menu li a {
        white-space: nowrap;
        border-left: none !important;
        border-bottom: 3px solid transparent;
        padding: 12px 16px !important;
    }
    
    .sidebar-menu li a:hover,
    .sidebar-menu li a.active {
        border-left: none !important;
        border-bottom-color: var(--primary);
    }
}

/* MÓVILES */
@media (max-width: 767px) {
    /* Base */
    body {
        font-size: 15px;
    }
    
    /* Contenedor con menos padding */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Top bar móvil */
    .top-bar {
        font-size: 11px;
        padding: 5px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 4px;
    }
    
    .top-bar a {
        font-size: 11px;
    }
    
    /* Navbar móvil */
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        padding: 8px 0;
    }
    
    .navbar-brand img {
        height: 32px;
    }
    
    .navbar-brand .brand-text {
        display: none;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Quitar línea azul en móvil */
    .nav-link::after,
    .nav-link.active::after,
    .nav-link:hover::after {
        display: none !important;
    }
    
    .nav-link.active {
        background: rgba(55, 187, 237, 0.1);
        border-radius: 8px;
        border-bottom: none;
    }
    
    /* Botones del navbar en móvil */
    .navbar .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    .navbar .btn-outline-primary,
    .navbar .btn-primary {
        width: 100%;
        margin: 0 !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .navbar .btn-outline-primary {
        background: transparent;
        border: 2px solid var(--primary);
    }
    
    /* Hero móvil */
    .hero {
        padding: 30px 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .hero .d-flex.flex-wrap.gap-3 .btn {
        width: 100%;
    }
    
    .hero .mt-4.d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px !important;
    }
    
    .hero .mt-4.d-flex small {
        font-size: 0.75rem;
    }
    
    /* Precios en móvil */
    .hero .price-old {
        font-size: 1rem;
    }
    
    .hero .d-flex.align-items-center.gap-3 span[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    
    /* Secciones con padding reducido */
    .services-section,
    .features-section,
    .how-it-works {
        padding: 40px 0;
    }
    
    section[style*="padding: 60px"],
    section[style*="padding: 80px"] {
        padding: 35px 0 !important;
    }
    
    section[style*="padding: 40px"] {
        padding: 25px 0 !important;
    }
    
    /* Section titles */
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    /* Service cards móvil */
    .service-card {
        padding: 1.25rem;
        margin-bottom: 0;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .price-old {
        font-size: 0.9rem;
    }
    
    .price-current {
        font-size: 1.4rem;
    }
    
    .service-card.featured::after {
        font-size: 9px;
        padding: 4px 30px;
        right: -30px;
        top: 12px;
    }
    
    /* Features móvil */
    .feature-item {
        padding: 1rem 0.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
    
    /* Estadísticas móvil */
    .stats-section {
        padding: 40px 0;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Pasos móvil */
    .step-item {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-item h4 {
        font-size: 1rem;
    }
    
    .step-item p {
        font-size: 0.85rem;
    }
    
    /* WhatsApp flotante */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    /* Checkout card en móvil */
    .checkout-card {
        margin: 0;
        border-radius: 12px;
    }
    
    .checkout-header {
        padding: 1rem;
    }
    
    .checkout-header h3 {
        font-size: 1.1rem;
    }
    
    .checkout-body {
        padding: 1rem;
    }
    
    /* Formularios en móvil */
    .form-control, .form-select {
        font-size: 16px; /* Evita zoom en iOS */
        padding: 10px 14px;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    /* Botones móvil */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-sm {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    /* Order summary en móvil */
    .order-summary {
        padding: 1rem;
    }
    
    .order-summary h4 {
        font-size: 1rem;
    }
    
    .order-item {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .order-total {
        font-size: 1.1rem;
    }
    
    /* Dashboard header móvil */
    .dashboard-header {
        padding: 25px 0;
    }
    
    .dashboard-header h1 {
        font-size: 1.4rem;
    }
    
    /* Dashboard cards móvil */
    .dashboard-card {
        padding: 1rem;
    }
    
    .dashboard-card h3 {
        font-size: 0.85rem;
    }
    
    .dashboard-card .value {
        font-size: 1.5rem;
    }
    
    /* Tablas móvil */
    .table-responsive {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .table th, .table td {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Sidebar móvil */
    .sidebar {
        margin-bottom: 1rem;
    }
    
    .sidebar-menu li a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Footer móvil */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer ul li a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 15px 0;
        font-size: 12px;
    }
    
    .footer-logo span {
        font-size: 1rem;
    }
    
    .footer-logo img {
        height: 30px;
    }
    
    /* Cards genéricas móvil */
    .card {
        border-radius: 12px;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 1rem;
    }
    
    /* Alertas móvil */
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Badges móvil */
    .badge {
        font-size: 0.7rem;
        padding: 0.4em 0.6em;
    }
    
    /* Social login móvil */
    .btn-social {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Carrusel móvil */
    .carrusel-item {
        flex: 0 0 220px !important;
    }
    
    .info-card {
        padding: 18px 15px;
    }
    
    .info-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .info-card h5 {
        font-size: 0.9rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
    }
    
    /* Testimonios móvil */
    .card-text {
        font-size: 0.9rem;
    }
}

/* MÓVILES PEQUEÑOS (iPhone SE, etc) */
@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero .lead {
        font-size: 0.85rem;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .price-current {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    /* Carrusel más pequeño */
    .carrusel-item {
        flex: 0 0 200px !important;
    }
}

/* =====================================================
   FIX - Alertas de contenido siempre visibles
   ===================================================== */
/* Alertas que son parte del contenido (no flash messages) */
section .alert:not(.alert-dismissible),
.content .alert:not(.alert-dismissible),
article .alert:not(.alert-dismissible) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Las alertas de contenido no deben tener animación de fade */
.alert-warning,
.alert-info {
    transition: none !important;
}

/* =====================================================
   UTILIDADES
   ===================================================== */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--gray-100) !important; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }

/* =====================================================
   SOCIAL LOGIN BUTTONS
   ===================================================== */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}

.btn-google {
    background: #fff;
    border: 2px solid #ddd;
    color: #333;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-apple {
    background: #000;
    border: 2px solid #000;
    color: #fff;
}

.btn-apple:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-300);
}

.divider-text span {
    padding: 0 15px;
}

/* =====================================================
   TIPO VEHICULO - RADIO BUTTONS ESTILO GUBERNAMENTAL
   ===================================================== */
.tipo-vehiculo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tipo-vehiculo-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
    margin: 0;
}

.tipo-vehiculo-option:hover {
    border-color: var(--primary);
    background: var(--gray-100);
}

.tipo-vehiculo-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--primary);
    cursor: pointer;
}

.tipo-vehiculo-option span {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.tipo-vehiculo-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(12, 75, 142, 0.05);
}

.tipo-vehiculo-option:has(input:checked) span {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 400px) {
    .tipo-vehiculo-grid {
        grid-template-columns: 1fr;
    }
}

