
/* Google Fonts con fallback robustos */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- Variables de Color WCAG 2.1 AA Compliant --- */
:root {
    --color-primario: #0d47a1;      /* Azul más oscuro para mejor contraste */
    --color-secundario: #e65100;    /* Naranja más oscuro para WCAG compliance */
    --color-acento: #00695c;        /* Verde azulado más oscuro */
    --color-fondo: #ffffff;         /* Fondo más claro para mejor contraste */
    --color-texto: #212121;         /* Texto más oscuro - ratio 16:1 */
    --color-texto-fuerte: #000000;  /* Negro puro para máximo contraste */
    --color-texto-secondary: #424242; /* Gris oscuro - ratio 12:1 */
    --color-cabecera-fondo: #ffffff;
    --color-tarjeta-fondo: #ffffff;
    --color-tarjeta-fondo-alt: #f8f9fa; /* Alternativo más claro */
    --color-tarjeta-fondo-destacado: #f0f4ff; /* Para elementos destacados */
    --color-borde: #bdbdbd;         /* Borde más visible */
    --color-blanco: #fff;
    --color-gris-claro: #f5f5f5;
    --color-error: #c62828;         /* Rojo de error WCAG compliant */
    --color-success: #2e7d32;       /* Verde de éxito WCAG compliant */
    --color-warning: #fff3cd;       /* Fondo de advertencia claro */
    --color-warning-texto: #856404;  /* Texto para advertencias en modo claro */
    --sombra-tarjeta: 0 4px 20px rgba(0,0,0,0.15);
    --sombra-hover: 0 8px 25px rgba(0,0,0,0.2);
    --gradiente-primario: linear-gradient(135deg, #0d47a1, #1565c0);
    --gradiente-secundario: linear-gradient(135deg, #e65100, #ff6f00);
    --gradiente-seleccion: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #7c3aed 100%);
}

/* --- Modo Oscuro WCAG 2.1 AA Compliant --- */
body.dark-mode {
    --color-primario: #64b5f6;      /* Azul más claro para contraste en fondo oscuro */
    --color-secundario: #ff8a65;    /* Naranja más claro para fondo oscuro */
    --color-acento: #4db6ac;        /* Verde azulado ajustado */
    --color-fondo: #000000;         /* Negro puro para máximo contraste */
    --color-texto: #ffffff;         /* Blanco puro - ratio 21:1 */
    --color-texto-fuerte: #ffffff;  /* Blanco puro para máximo contraste */
    --color-texto-secondary: #e0e0e0; /* Gris muy claro - ratio 15:1 */
    --color-cabecera-fondo: #121212;
    --color-tarjeta-fondo: #1a1a1a;
    --color-tarjeta-fondo-alt: #242424; /* Alternativo más claro */
    --color-tarjeta-fondo-destacado: #2a2a2a; /* Para elementos destacados */
    --color-borde: #616161;         /* Bordes más visibles en modo oscuro */
    --color-gris-claro: #1a1a1a;
    --color-error: #ef5350;         /* Rojo más claro para fondo oscuro */
    --color-success: #66bb6a;       /* Verde más claro para fondo oscuro */
    --color-warning: #2c2c2c;       /* Fondo oscuro para advertencias en modo oscuro */
    --color-warning-texto: #ffd54f; /* Texto amarillo claro para advertencias en modo oscuro */
    --sombra-tarjeta: 0 4px 20px rgba(0,0,0,0.5);
    --sombra-hover: 0 8px 25px rgba(0,0,0,0.6);
    --gradiente-primario: linear-gradient(135deg, #64b5f6, #42a5f5);
    --gradiente-secundario: linear-gradient(135deg, #ff8a65, #ff7043);
    --gradiente-seleccion: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
}

/* --- Estilos de Accesibilidad Adicionales --- */

/* Indicadores de foco mejorados */
*:focus-visible {
    outline: 3px solid var(--color-secundario) !important;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Botones con mejor contraste */
.btn, .btn-modern {
    font-weight: 600 !important;
    min-height: 44px; /* Mínimo para touch targets */
    position: relative;
}

/* Links con mejor contraste */
a {
    color: var(--color-primario);
    text-decoration: underline;
    font-weight: 500;
}

a:hover, a:focus {
    color: var(--color-secundario);
    text-decoration: none;
}

/* Texto secundario con suficiente contraste */
.text-secondary, .subtitle, .description {
    color: var(--color-texto-secondary) !important;
}

/* Estados de error, éxito y advertencia */
.text-error, .error {
    color: var(--color-error) !important;
}

.text-success, .success {
    color: var(--color-success) !important;
}

.text-warning, .warning {
    color: var(--color-warning) !important;
}

/* Badges con mejor contraste */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--color-texto-fuerte);
}

.badge-primary {
    background: var(--color-primario);
    color: white;
}

.badge-secondary {
    background: var(--color-secundario);
    color: white;
}

.badge-success {
    background: var(--color-success);
    color: white;
}

.badge-warning {
    background: var(--color-warning);
    color: var(--color-warning-texto);
    font-weight: 600;
}

/* Mejoras para formularios */
input, select, textarea {
    border: 2px solid var(--color-borde) !important;
    color: var(--color-texto-fuerte) !important;
    background: var(--color-fondo) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-primario) !important;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2) !important;
}

/* Labels con mejor contraste */
label {
    color: var(--color-texto-fuerte) !important;
    font-weight: 600;
}

/* --- Estilos Base y Tipografía --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
    /* Prevenir corte de palabras por sílabas */
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}

/* Permitir quiebre solo en espacios para texto en español */
p, span, div, li, td, th, label {
    word-break: normal;
    overflow-wrap: break-word;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

.container { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }

/* --- TIPOGRAFÍA OPTIMIZADA PARA MÓVIL --- */
h1, h2, h3, h4 { 
    color: var(--color-primario); 
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
}

/* Escalado de tipografía mejorado para móvil */
h1 { 
    font-size: clamp(2.8rem, 6vw, 4rem); /* Tamaños más grandes en móvil */
    line-height: 1.2; 
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 { 
    font-size: clamp(2.2rem, 5vw, 3.2rem); 
    line-height: 1.25;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

h3 { 
    font-size: clamp(1.8rem, 4vw, 2.4rem); 
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

/* Texto del cuerpo optimizado para legibilidad móvil */
body {
    font-size: clamp(1rem, 2.5vw, 1.1rem); /* Base más grande en móvil */
    line-height: 1.6; /* Mayor espaciado para móvil */
    letter-spacing: 0.01em;
}

p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    max-width: 70ch; /* Líneas no muy largas para legibilidad */
}

/* Texto pequeño más legible en móvil */
small, .small-text {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

/* Labels y texto de formularios más grandes */
label {
    font-size: clamp(1rem, 2.5vw, 1.1rem) !important;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: block;
}

/* Botones con texto más grande y legible */
.btn, .btn-modern {
    font-size: clamp(1rem, 2.5vw, 1.1rem) !important;
    line-height: 1.4;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
}

/* Navegación móvil con tipografía optimizada */
.mobile-nav a {
    font-size: clamp(1.1rem, 3vw, 1.3rem) !important;
    line-height: 1.4;
    padding: 1rem 1.5rem;
}

.desktop-nav a {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
}

/* --- OPTIMIZACIONES MÓVILES CRÍTICAS --- */

/* 11. Hamburger menu animation mejorada */
.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 44px; /* Touch target optimizado */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle:hover {
    background: rgba(13, 71, 161, 0.1);
    transform: scale(1.05);
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-primario);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

/* Animación cuando está abierto */
.nav-open .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.nav-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.nav-open .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* 12. Touch targets optimizados */
.btn, .btn-modern, button, input[type="submit"] {
    min-height: 44px !important; /* Estándar WCAG para touch targets */
    min-width: 44px !important;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    touch-action: manipulation; /* Evita zoom en doble tap */
}

.whatsapp-button {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mobile-nav a {
    min-height: 48px !important;
    padding: 1rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
}

.mobile-nav a:hover, .mobile-nav a:focus {
    background: rgba(13, 71, 161, 0.1);
    transform: translateX(5px);
}

/* 13. Fix horizontal scroll issues */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    margin: 0 auto;
}

/* Prevenir overflow en elementos específicos */
.hero, .section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.grid-3, .form-grid {
    width: 100%;
    overflow-x: hidden;
}

/* Imágenes responsivas */
img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 14. Mejoras generales de UX móvil */
@media (max-width: 768px) {
    /* Espaciado optimizado para móvil */
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 1rem;
        min-height: 60vh;
    }
    
    /* Cards más compactas en móvil */
    .card, .card-modern {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Formularios optimizados */
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Navegación móvil mejorada */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cabecera-fondo);
        z-index: 9999;
        padding: 2rem 0;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
    }
    
    .nav-open .mobile-nav {
        left: 0;
    }
    
    /* Overlay para cerrar menú */
    .nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Botones más grandes en móvil */
    .btn, .btn-modern {
        font-size: 1.1rem !important;
        padding: 1rem 2rem !important;
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    /* Texto más legible */
    p, li {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Mejores márgenes */
    h1 { margin-bottom: 1.5rem; }
    h2 { margin-bottom: 1.2rem; }
    h3 { margin-bottom: 1rem; }
    
    /* Espaciado de secciones */
    .section:not(:last-child) {
        margin-bottom: 2rem;
    }
}
a { color: var(--color-secundario); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--color-primario); }
img { max-width: 100%; height: auto; display: block; }

/* --- Mejoras de Foco para Accesibilidad --- */
a:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--color-primario);
    outline-offset: 4px;
    border-radius: 4px;
}

/* --- Ritmo Vertical y Espaciado --- */
main > section {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.section {
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradiente-secundario);
    border-radius: 2px;
}

/* Limita el ancho de línea para mejorar legibilidad */
.service-page-header p, .blog-content p, .fleet-item p {
    max-width: 65ch;
    margin-inline: auto;
}

.service-page-header {
    background: var(--color-gris-claro);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.service-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradiente-primario);
}

/* --- Animaciones --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- LAZY LOADING STYLES --- */
.lazy-loading {
    opacity: 0;
    filter: blur(5px);
    transition: opacity 0.4s ease-out, filter 0.4s ease-out;
    background: linear-gradient(90deg, 
        var(--color-gris-claro) 25%, 
        rgba(255,255,255,0.2) 37%, 
        var(--color-gris-claro) 63%);
    background-size: 400% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

.lazy-loaded {
    opacity: 1;
    filter: blur(0px);
}

/* Animación shimmer para placeholder */
@keyframes loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -100% 50%;
    }
}

/* Optimización CLS - Prevenir layout shift */
img[data-src] {
    display: block;
    background-color: var(--color-gris-claro);
}

/* Aspect ratio containers para imágenes responsive */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container--16-9 {
    aspect-ratio: 16 / 9;
}

.img-container--4-3 {
    aspect-ratio: 4 / 3;
}

.img-container--1-1 {
    aspect-ratio: 1 / 1;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- SKELETON LOADING SYSTEM --- */

/* Skeleton base */
.skeleton {
    background: linear-gradient(90deg, 
        var(--color-gris-claro) 25%, 
        rgba(255,255,255,0.8) 50%, 
        var(--color-gris-claro) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 25%, 
        rgba(255,255,255,0.4) 50%, 
        transparent 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 2s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes skeleton-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Skeleton variants */
.skeleton-text {
    height: 1.2em;
    margin-bottom: 0.5rem;
}

.skeleton-text--title {
    height: 2rem;
    width: 70%;
    margin-bottom: 1rem;
}

.skeleton-text--subtitle {
    height: 1.5rem;
    width: 85%;
    margin-bottom: 0.8rem;
}

.skeleton-text--paragraph {
    height: 1rem;
    margin-bottom: 0.3rem;
}

.skeleton-text--short {
    width: 60%;
}

.skeleton-text--medium {
    width: 80%;
}

.skeleton-text--long {
    width: 95%;
}

.skeleton-button {
    height: 44px;
    width: 120px;
    border-radius: 12px;
}

.skeleton-card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--sombra-tarjeta);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* Skeleton layouts predefinidos */
.skeleton-quote-form {
    padding: 2rem;
    background: var(--color-tarjeta-fondo);
    border-radius: 12px;
    box-shadow: var(--sombra-tarjeta);
}

.skeleton-service-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-tarjeta-fondo);
    border-radius: 12px;
    box-shadow: var(--sombra-tarjeta);
}

.skeleton-testimonial {
    padding: 1.5rem;
    background: var(--color-tarjeta-fondo);
    border-radius: 12px;
    box-shadow: var(--sombra-tarjeta);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

/* Dark mode skeletons */
body.dark-mode .skeleton {
    background: linear-gradient(90deg, 
        var(--color-gris-claro) 25%, 
        rgba(255,255,255,0.1) 50%, 
        var(--color-gris-claro) 75%);
}

body.dark-mode .skeleton::after {
    background: linear-gradient(90deg, 
        transparent 25%, 
        rgba(255,255,255,0.1) 50%, 
        transparent 75%);
}

/* Fade out animation cuando se carga el contenido */
.skeleton-fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Utilidades para mostrar/ocultar skeletons */
.loading .skeleton {
    display: block;
}

.loading .content {
    display: none;
}

.loaded .skeleton {
    display: none;
}

.loaded .content {
    display: block;
}

/* --- Portada (Hero) --- */
.hero {
    position: relative;
    padding: clamp(5rem, 12vw, 10rem) 20px;
    color: var(--color-blanco);
    text-align: center;
    background-color: #1565c0; /* Fallback color */
    background: 
        linear-gradient(135deg, rgba(21, 101, 192, 0.8), rgba(255, 107, 53, 0.7)),
        url('../img/hero-background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero h1 { 
    color: var(--color-blanco);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    background: var(--gradiente-secundario);
    color: var(--color-blanco) !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.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.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-hover);
    filter: brightness(1.1);
}

.btn:active {
    transform: translateY(0);
}

/* --- Tarjetas --- */
.card {
    display: flex;
    flex-direction: column;
    background: var(--color-tarjeta-fondo);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--sombra-tarjeta);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-borde);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradiente-secundario);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
}

.card:hover::before {
    transform: scaleX(1);
}
/* Espaciado interno de las tarjetas */
.card > * + * {
    margin-top: 1.25rem;
}

/* --- Grids --- */
.grid-3, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Aumentamos el espaciado */
}

/* --- Footer --- */
.footer {
    background-color: var(--color-cabecera-fondo);
    padding: 50px 0 0 0;
    margin-top: 60px;
    color: var(--color-texto);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-primario);
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secundario);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--color-texto); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--color-secundario); }
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.footer-social-icons a img { width: 24px; height: 24px; transition: transform 0.2s; }
.footer-social-icons a:hover img { transform: scale(1.1); }

.footer-bottom {
    border-top: 1px solid var(--color-borde);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Header y Navegación Mejorada --- */
.header { 
    background-color: var(--color-cabecera-fondo); 
    box-shadow: var(--sombra-tarjeta); 
    padding: 20px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo img { 
    height: 45px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.desktop-nav ul { 
    list-style: none; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.desktop-nav a { 
    color: var(--color-texto); 
    font-weight: 600; 
    padding: 12px 16px; 
    border-radius: 8px; 
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.desktop-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradiente-secundario);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.desktop-nav a:hover::before,
.desktop-nav a.active::before {
    width: 80%;
}

.desktop-nav a:hover, 
.desktop-nav a.active { 
    background-color: var(--color-gris-claro);
    color: var(--color-primario);
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 16px;
}

.lang-switch a {
    padding: 8px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.lang-switch a:hover {
    background-color: var(--color-gris-claro) !important;
    transform: scale(1.1);
}

.theme-switch {
    background: var(--color-gris-claro);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-switch:hover {
    background: var(--color-primario);
    transform: scale(1.1);
}

.mobile-nav-toggle { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    z-index: 1001;
    padding: 8px;
}

.hamburger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-texto);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--color-cabecera-fondo);
    box-shadow: var(--sombra-tarjeta);
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    display: block;
    padding: 15px;
    color: var(--color-texto);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.mobile-nav a:hover {
    background: var(--color-gris-claro);
    color: var(--color-primario);
}

body.nav-open .mobile-nav {
    display: block;
}

body.nav-open .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

body.nav-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

body.nav-open .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 992px) { 
    .desktop-nav { display: none; } 
    .mobile-nav-toggle { display: block; }
}

/* --- Estilos para Opciones de Vehículos Mejorados --- */
.vehicle-options {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    
    /* Distribución inteligente según tamaño de pantalla */
    grid-template-columns: 1fr; /* Mobile first: una columna */
}

/* FORZAR ANCHO COMPLETO EN TODOS LOS BREAKPOINTS */
.vehicle-option {
    width: 100%;
    min-width: 0; /* Permite que flex shrink funcione */
}

.vehicle-card {
    width: 100%;
    box-sizing: border-box;
}

.vehicle-option {
    cursor: pointer;
    position: relative;
    width: 100%;
}

.vehicle-option input[type="radio"] {
    display: none;
}

.vehicle-card {
    background: var(--color-tarjeta-fondo);
    border: 2px solid var(--color-borde);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    box-shadow: var(--sombra-tarjeta);
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.vehicle-card:hover::before {
    left: 100%;
}

.vehicle-card:hover {
    border-color: var(--color-primario);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 50px rgba(13, 71, 161, 0.25);
}

.vehicle-option input[type="radio"]:checked + .vehicle-card {
    border-color: var(--color-primario);
    background: var(--gradiente-seleccion);
    color: white;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
}

.vehicle-option input[type="radio"]:checked + .vehicle-card::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    backdrop-filter: blur(5px);
}

.vehicle-option input[type="radio"]:checked + .vehicle-card .vehicle-info strong,
.vehicle-option input[type="radio"]:checked + .vehicle-card .vehicle-info small {
    color: white;
}

.vehicle-image {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: grayscale(0.2);
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.2) rotate(8deg);
    filter: grayscale(0);
}

.vehicle-option input[type="radio"]:checked + .vehicle-card .vehicle-image {
    transform: scale(1.15);
    filter: grayscale(0) brightness(1.2);
}

.vehicle-info {
    text-align: center;
    z-index: 1;
    position: relative;
}

.vehicle-info strong {
    display: block;
    color: var(--color-texto);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.vehicle-info small {
    color: var(--color-primario);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    background: rgba(13, 71, 161, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

/* === ESTILOS UNIFICADOS PARA AMBOS FORMULARIOS === */
/* Forzar que los vehículos se vean igual en predefined-form y custom-form */
#predefined-form .vehicle-options,
#custom-form .vehicle-options {
    display: grid !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
    grid-template-columns: 1fr !important; /* Mobile first: una columna */
}

#predefined-form .vehicle-option,
#custom-form .vehicle-option {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

#predefined-form .vehicle-card,
#custom-form .vehicle-card {
    display: block !important;
    text-align: center !important;
    padding: 1.5rem 1rem !important;
    min-height: auto !important;
    background: var(--color-tarjeta-fondo) !important;
    border: 2px solid var(--color-borde) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

/* === RESPONSIVE BREAKPOINTS OPTIMIZADOS PARA VEHÍCULOS === */

/* Móviles pequeños (hasta 480px) - Diseño compacto horizontal */
@media (max-width: 480px) {
    #predefined-form .vehicle-options,
    #custom-form .vehicle-options,
    .vehicle-options {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    #predefined-form .vehicle-card,
    #custom-form .vehicle-card {
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        padding: 1rem !important;
        min-height: 80px !important;
    }
    
    .vehicle-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 1rem;
        min-height: 80px;
        border-radius: 12px;
    }
    
    .vehicle-image {
        font-size: 2.2rem;
        width: auto;
        height: auto;
        margin-right: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .vehicle-card:hover .vehicle-image {
        transform: scale(1.1) rotate(3deg);
    }
    
    .vehicle-info {
        text-align: left;
        flex: 1;
    }
    
    .vehicle-info strong {
        margin-bottom: 0.25rem;
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .vehicle-info small {
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* Móviles medianos/grandes (481px - 768px) - Diseño horizontal mejorado */
@media (min-width: 481px) and (max-width: 768px) {
    #predefined-form .vehicle-options,
    #custom-form .vehicle-options,
    .vehicle-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #predefined-form .vehicle-card,
    #custom-form .vehicle-card {
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        padding: 1.25rem !important;
        min-height: 90px !important;
    }
    
    .vehicle-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 1.25rem;
        min-height: 90px;
        border-radius: 14px;
    }
    
    .vehicle-image {
        font-size: 2.8rem;
        width: auto;
        height: auto;
        margin-right: 1.25rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .vehicle-info {
        text-align: left;
        flex: 1;
    }
    
    .vehicle-info strong {
        margin-bottom: 0.5rem;
        font-size: 1.05rem;
    }
    
    .vehicle-info small {
        padding: 0.35rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Tablets verticales (769px - 1024px) - Distribución optimizada */
@media (min-width: 769px) and (max-width: 1024px) {
    #predefined-form .vehicle-options,
    #custom-form .vehicle-options,
    .vehicle-options {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: none !important;
        margin: 1rem 0 0 0 !important;
        padding: 0 !important;
    }
    
    #predefined-form .vehicle-card,
    #custom-form .vehicle-card {
        display: block !important;
        text-align: center !important;
        padding: 1.5rem 1rem !important;
        min-height: 120px !important;
    }
    
    .vehicle-option {
        width: 100%;
        min-width: 0;
        flex: 1;
    }
    
    .vehicle-card {
        display: block;
        text-align: center;
        padding: 1.5rem 1rem;
        min-height: 140px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .vehicle-image {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        width: auto;
        height: auto;
    }
    
    .vehicle-info {
        text-align: center;
        width: 100%;
    }
    
    .vehicle-info strong {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        display: block;
    }
    
    .vehicle-info small {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        border-radius: 16px;
    }
}

/* Desktop pequeño (1025px - 1199px) - Tres columnas */
@media (min-width: 1025px) and (max-width: 1199px) {
    #predefined-form .vehicle-options,
    #custom-form .vehicle-options,
    .vehicle-options {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
        max-width: none !important;
        margin: 1rem 0 0 0 !important;
        width: 100% !important;
    }
    
    #predefined-form .vehicle-card,
    #custom-form .vehicle-card {
        display: block !important;
        text-align: center !important;
        padding: 1.5rem 1rem !important;
        min-height: 120px !important;
    }
    
    .vehicle-card {
        display: block;
        text-align: center;
        padding: 1.5rem 1rem;
        min-height: 160px;
    }
    
    .vehicle-image {
        font-size: 3.2rem;
        margin-bottom: 1rem;
        width: auto;
        height: auto;
    }
    
    .vehicle-info strong {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
}

/* Estilos para pasos del formulario */
.step-container.unified-steps {
    margin-bottom: 1rem;
    background: var(--color-tarjeta-fondo);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-borde);
}

.step-section {
    margin-bottom: 1.5rem;
}

.step-section:last-child {
    margin-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-borde);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-primario);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-header h3 {
    margin: 0;
    color: var(--color-texto);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Estados mejorados para selectores de tipo de destino */
.trip-mode-option {
    background: var(--color-tarjeta-fondo) !important;
    transition: all 0.3s ease !important;
}

.trip-mode-option:hover {
    border-color: var(--color-primario) !important;
    background: var(--color-gris-claro) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.2);
}

.trip-mode-option input[type="radio"]:checked + span {
    color: var(--color-primario) !important;
    font-weight: 700 !important;
}

.trip-mode-option:has(input[type="radio"]:checked) {
    border-color: var(--color-primario) !important;
    background: var(--gradiente-seleccion) !important;
    color: white !important;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    transform: translateY(-4px) scale(1.05);
    position: relative;
    overflow: hidden;
}

.trip-mode-option:has(input[type="radio"]:checked) span {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Light sweep effect for selected destination types */
.trip-mode-option:has(input[type="radio"]:checked)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.trip-mode-option:has(input[type="radio"]:checked):hover::before {
    left: 100%;
}

/* Control de visibilidad de textos desktop/mobile */
.mobile-text {
    display: none !important;
}

.desktop-text {
    display: inline !important;
}

/* Hide mobile emojis on desktop */
.mobile-emoji {
    display: none;
}

/* Optimizaciones para mobile de los botones de tipo de destino */
@media (max-width: 480px) {
    .trip-mode-option {
        min-width: 120px !important;
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .trip-mode-option span {
        font-size: 0.8rem !important;
    }
    
    /* Mostrar texto corto en mobile */
    .mobile-text {
        display: inline !important;
    }
    
    .desktop-text {
        display: none !important;
    }
    
    /* Show mobile emojis on mobile */
    .mobile-emoji {
        display: inline;
    }
    
    /* Contenedor de botones más compacto */
    .trip-mode-container {
        gap: 0.5rem !important;
        flex-wrap: wrap;
        justify-content: center !important;
    }
}

@media (max-width: 380px) {
    .trip-mode-option {
        min-width: 100px !important;
        padding: 0.5rem 0.6rem !important;
        gap: 0.3rem !important;
    }
    
    .trip-mode-option span {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }
    
    /* Reducir gap aún más en pantallas muy pequeñas */
    .trip-mode-container {
        gap: 0.3rem !important;
    }
}

/* Desktop grande (1200px+) - Tres columnas optimizadas */
@media (min-width: 1200px) {
    #predefined-form .vehicle-options,
    #custom-form .vehicle-options,
    .vehicle-options {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        max-width: none !important;
        margin: 1rem 0 0 0 !important;
        width: 100% !important;
    }
    
    #predefined-form .vehicle-card,
    #custom-form .vehicle-card {
        display: block !important;
        text-align: center !important;
        padding: 2rem 1.25rem !important;
        min-height: 140px !important;
    }
    
    .vehicle-card {
        display: block;
        text-align: center;
        padding: 2rem 1.25rem;
        min-height: 180px;
    }
    
    .vehicle-image {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
        width: auto;
        height: auto;
    }
    
    .vehicle-info {
        text-align: center;
    }
    
    .vehicle-info strong {
        font-size: 1.15rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .vehicle-info small {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

/* --- Desktop Button Centering Fixes --- */
@media (min-width: 769px) {
    .vehicle-card {
        text-align: center;
    }
    .vehicle-info {
        text-align: center;
    }
    .card .btn {
        margin: 1rem auto 0 auto;
        display: inline-block;
    }
}

/* --- Optimización de Formularios y Layout General --- */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-texto);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--color-borde);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-blanco);
    color: var(--color-texto);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
    transform: translateY(-1px);
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trip-form-section {
    background: var(--color-blanco);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-borde);
    transition: all 0.3s ease;
}

.trip-form-section:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Mejoras para botones principales */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 50px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.4);
}

.btn-secondary {
    background: var(--color-blanco);
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
}

.btn-secondary:hover {
    background: var(--color-primario);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 71, 161, 0.3);
}

/* Estilos para selectores de modo */
.mode-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 0.875rem 1.5rem;
    border: 2px solid var(--color-borde);
    border-radius: 12px;
    background: var(--color-blanco);
    color: var(--color-texto);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 160px;
    text-align: center;
}

.mode-btn:hover,
.mode-btn.active {
    border-color: var(--color-primario);
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 71, 161, 0.3);
}

/* Espaciado de containers optimizado */

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .trip-form-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .mode-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .mode-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 1.125rem 1.5rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
}

/* Optimización del mapa interactivo */
#interactive-map-container {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--color-borde);
}

#interactive-map {
    height: 450px;
    width: 100%;
    border-radius: 14px;
}

/* Información de puntos seleccionados */
#selected-points-info {
    background: var(--color-tarjeta-fondo-alt);
    border: 2px solid var(--color-primario);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: var(--sombra-tarjeta);
}

/* Información de ruta calculada */
#route-info {
    background: var(--color-tarjeta-fondo-destacado);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--sombra-tarjeta);
    border: 1px solid var(--color-borde);
}

/* Mejoras para step indicators */
.form-step {
    transition: all 0.4s ease;
}

.form-step.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.form-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para trip summary card */
#trip-summary-card {
    background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 12px 48px rgba(13, 71, 161, 0.3);
    position: relative;
    overflow: hidden;
}

#trip-summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Indicadores de confianza y stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--color-blanco);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-borde);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primario);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 600;
}

/* Botón Calcular Ruta - Estilos específicos con máximo énfasis */
#calculate-route-btn {
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #ff6b35 0%, #e67e22 100%);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    border: 2px solid #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5), 0 0 0 0 rgba(243, 156, 18, 0.4);
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-emphasis 2s ease-in-out infinite;
}

@keyframes pulse-emphasis {
    0%, 100% { 
        box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5), 0 0 0 0 rgba(243, 156, 18, 0.4);
    }
    50% { 
        box-shadow: 0 8px 30px rgba(243, 156, 18, 0.7), 0 0 0 8px rgba(243, 156, 18, 0.1);
    }
}

#calculate-route-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(243, 156, 18, 0.6);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

#calculate-route-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Botón Centrar en Valdivia - Colores fijos para contraste */
#center-map-btn {
    background: #f8f9fa !important;
    color: #2c3e50 !important;
    border: 2px solid #dee2e6 !important;
    transition: all 0.3s ease !important;
}

#center-map-btn:hover {
    background: #e9ecef !important;
    color: #1a202c !important;
    border-color: #adb5bd !important;
    transform: translateY(-2px);
}

body.dark-mode #center-map-btn {
    background: #3a3a3a !important;
    color: #ffffff !important;
    border-color: #5a5a5a !important;
}

body.dark-mode #center-map-btn:hover {
    background: #4a4a4a !important;
    color: #ffffff !important;
    border-color: #6a6a6a !important;
}

/* Predefined Destinations List - Fixed contrast colors */
#predefined-form select,
#origen,
#destino {
    background: #ffffff !important;
    color: #2c3e50 !important;
    border: 2px solid #dee2e6 !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#predefined-form select:hover,
#origen:hover,
#destino:hover {
    border-color: #1565c0 !important;
    background: #f8f9fa !important;
}

#predefined-form select:focus,
#origen:focus,
#destino:focus {
    outline: none !important;
    border-color: #1565c0 !important;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1) !important;
}

/* Predefined destinations select options */
#predefined-form select option,
#origen option,
#destino option {
    background: #ffffff !important;
    color: #2c3e50 !important;
    padding: 0.5rem;
}

body.dark-mode #predefined-form select,
body.dark-mode #origen,
body.dark-mode #destino {
    background: #3a3a3a !important;
    color: #ffffff !important;
    border-color: #5a5a5a !important;
}

body.dark-mode #predefined-form select:hover,
body.dark-mode #origen:hover,
body.dark-mode #destino:hover {
    background: #4a4a4a !important;
    border-color: #42a5f5 !important;
}

body.dark-mode #predefined-form select:focus,
body.dark-mode #origen:focus,
body.dark-mode #destino:focus {
    border-color: #42a5f5 !important;
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1) !important;
}

body.dark-mode #predefined-form select option,
body.dark-mode #origen option,
body.dark-mode #destino option {
    background: #3a3a3a !important;
    color: #ffffff !important;
}

/* Responsivo adicional para mapa */
@media (max-width: 768px) {
    #interactive-map {
        height: 350px;
    }
    
    #selected-points-info,
    #route-info {
        padding: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

#calculate-route-btn[style*="display: none"] {
    display: none !important;
}

#calculate-route-btn[style*="display: inline-block"] {
    display: inline-block !important;
}

/* ========================================= */
/* OPTIMIZACIONES MOBILE - MÁRGENES REDUCIDOS */
/* ========================================= */

@media (max-width: 768px) {
    /* ELIMINAR completamente padding horizontal del contenedor principal */
    .container {
        padding-inline: 4px; /* ULTRA reducido para eliminar barras grises */
        max-width: 100%; /* Asegurar que use todo el ancho */
        width: 100%; /* Forzar ancho completo */
    }
    
    /* Reducir padding vertical de secciones principales */
    main > section {
        padding-block: clamp(2rem, 6vw, 3rem); /* Reducido de 4rem-6rem a 2rem-3rem */
    }
    
    /* Reducir márgenes de títulos de sección */
    .section-title {
        margin-bottom: 1.5rem; /* Reducido de 3rem a 1.5rem */
    }
    
    /* Optimizar padding de cards y elementos principales */
    .card, .card-modern, .quote-form {
        padding: 1rem; /* Reducido de padding más generosos */
        margin-bottom: 1rem; /* Reducido márgenes entre cards */
    }
    
    /* Optimizar hero section padding */
    .hero {
        padding: clamp(3rem, 8vw, 6rem) 12px; /* Reducido padding horizontal */
    }
    
    /* Reducir spacing en grids */
    .grid-3, .form-grid {
        gap: 1rem; /* Reducido gap entre elementos del grid */
    }
    
    /* Optimizar footer padding */
    .footer {
        padding: 2rem 0 1rem 0; /* Reducido de 50px a 2rem */
    }
    
    .footer-bottom {
        padding: 1rem 0; /* Reducido de 20px a 1rem */
    }
    
    /* Optimizar formularios */
    .form-group {
        margin-bottom: 0.75rem; /* Reducido spacing entre campos */
    }
    
    /* Reducir padding de botones */
    .btn, .btn-modern {
        padding: 0.75rem 1.25rem; /* Optimizado para mobile */
    }
    
    /* Optimizar testimonials */
    .testimonial-card {
        padding: 1.25rem; /* Reducido padding */
        margin-bottom: 1rem;
    }
    
    /* Reducir spacing de stats */
    .stats-grid {
        gap: 1rem; /* Reducido gap entre stats */
        margin: 1rem 0; /* Reducido margen vertical */
    }
    
    /* Optimizar elementos flotantes del hero */
    .hero-content {
        padding: 1.5rem 0; /* Reducido padding del contenido del hero */
    }
    
    /* Reducir padding de la sección de cotización */
    .quote-section {
        padding: 2rem 0; /* Reducido de más padding */
    }
    
    /* Optimizar mapa interactivo */
    #interactive-map-container {
        margin-top: 1rem; /* Reducido margen superior */
    }
    
    /* Reducir padding de elementos informativos */
    .badge {
        padding: 0.25rem 0.75rem; /* Optimizado para mobile */
        margin: 0.25rem;
    }
    
    /* Optimizar spacing de trust indicators */
    .hero .container > div:last-child {
        gap: 1rem; /* Reducido gap entre indicadores de confianza */
    }
}

/* ========================================= */
/* OPTIMIZACIONES AGRESIVAS - CONTENEDORES ANIDADOS */  
/* ========================================= */

/* Reducir padding específico de elementos problemáticos en mobile */
@media (max-width: 768px) {
    
    /* Glass cards - REDUCCIÓN AGRESIVA */
    .glass-card {
        padding: 1.25rem 0.75rem !important; /* Era 3rem 2rem - REDUCIDO 60% */
        margin-bottom: 1.5rem !important;    /* Era 4rem - REDUCIDO 62% */
    }
    
    /* Quote section - container interno ULTRA agresivo */
    .quote-section .container {
        padding-inline: 2px; /* EXTREMO - eliminar barras grises */
        width: 100vw; /* Usar viewport width completo */
        max-width: 100vw;
        margin-left: calc(-50vw + 50%); /* Centrar y expandir */
        margin-right: calc(-50vw + 50%);
    }
    
    /* Quote form - ajustar para compensar */
    .quote-form {
        padding-inline: 6px; /* Padding interno mínimo */
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Form steps - reducir padding interno */
    .form-step {
        padding: 0.5rem 0; /* Reducir padding entre pasos */
    }
    
    /* Stats grid - gap más agresivo */
    .stats-grid, 
    div[style*="grid-template-columns"][style*="gap: 2rem"] {
        gap: 0.75rem !important; /* Forzar gap más pequeño */
        margin-bottom: 1rem !important;
    }
    
    /* Trust badges section - menos padding */
    div[style*="padding-top: 2rem"] {
        padding-top: 1rem !important;
        margin-top: 1rem !important;
    }
    
    /* Vehicle options - más compacto */
    .vehicle-options {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .vehicle-card {
        padding: 0.75rem 0.5rem;
    }
    
    /* Step containers más compactos en móvil */
    .step-container {
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }
    
    .step-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.25rem;
        gap: 0.5rem;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .step-header h3 {
        font-size: 1rem;
    }
    
    /* Form grid - más compacto */
    .form-grid {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Interactive map container - sin margin excesivo */
    #interactive-map-container {
        margin-top: 0.5rem;
    }
    
    /* Trip summary card - más compacto */
    #trip-summary-card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Testimonials - más compacto */
    .testimonials .container {
        padding-inline: 8px;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Footer grid - más compacto */
    .footer-grid {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-col {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    /* Services grid - más compacto */
    .grid-3 {
        gap: 0.75rem;
    }
    
    /* Hero trust indicators - más compacto */
    .hero div[style*="gap: 2rem"] {
        gap: 0.5rem !important;
        margin-top: 1rem !important;
    }
    
    /* Badge spacing más agresivo */
    .badge {
        padding: 0.2rem 0.5rem;
        margin: 0.1rem;
        font-size: 0.8rem;
    }
}

/* Optimizaciones adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    /* ULTRA EXTREMO - eliminar completamente las barras grises */
    .container {
        padding-inline: 2px; /* EXTREMO */
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    /* Ajustar body para evitar scroll horizontal */
    body {
        overflow-x: hidden;
    }
    
    /* Asegurar que todos los elementos usen el ancho completo */
    .quote-section, .section {
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Reducir aún más el padding vertical en móviles pequeños */
    main > section {
        padding-block: clamp(1rem, 4vw, 2rem); /* MÁS agresivo */
    }
    
    /* Optimizar hero para móviles pequeños */
    .hero {
        padding: clamp(1.5rem, 5vw, 3rem) 6px; /* MÁS agresivo */
    }
    
    /* Reducir padding de cards en móviles muy pequeños */
    .card, .card-modern, .quote-form {
        padding: 0.5rem; /* MÁS agresivo - era 0.75rem */
    }
    
    /* Glass cards ULTRA compactas y proporcionadas */
    .glass-card {
        width: auto !important;
        max-width: calc(100% - 4px) !important;
        padding: 0.75rem 0.5rem !important;
        margin: 0.5rem auto 1rem auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Elementos con background inline - típicos de la imagen */
    div[style*="background"][style*="padding"] {
        width: auto !important;
        max-width: calc(100% - 4px) !important;
        margin: 0.5rem auto !important;
        padding: 0.75rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Cards específicas de información de viaje */
    div[style*="background: var(--color-gris-claro)"],
    div[style*="background:#"],
    div[style*="background-color"] {
        width: auto !important;
        min-width: 150px !important;
        max-width: calc(100% - 8px) !important;
        margin: 0.25rem auto !important;
        box-sizing: border-box !important;
    }
    
    /* Optimizar botones para pantallas pequeñas */
    .btn, .btn-modern {
        padding: 0.5rem 0.75rem; /* MÁS compacto */
        font-size: 0.85rem;
    }
    
    /* Stats grid ultra compacto */
    .stats-grid,
    div[style*="grid-template-columns"][style*="gap"] {
        gap: 0.5rem !important;
    }
    
    /* Form fields más compactos */
    .form-group {
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    /* Section titles más compactos */
    .section-title {
        margin-bottom: 1rem;
        font-size: 1.5rem;
        width: 100%;
    }
    
    /* AJUSTAR CARDS/BOTONES PROPORCIONALMENTE */
    .card, .card-modern, .glass-card {
        width: auto; /* Permitir que se ajusten a contenido */
        max-width: calc(100% - 4px); /* Respecto al container */
        margin: 0.25rem auto; /* Centrar horizontalmente */
        padding: 0.75rem 1rem; /* Padding proporcionado */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* Quote form específico - debe usar más ancho */
    .quote-form {
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
        margin: 0 auto;
        box-sizing: border-box;
        padding: 0.75rem;
    }
    
    /* CARDS DE INFORMACIÓN DE VIAJE - Proporcionales */
    div[style*="background"]:not(.quote-form) {
        width: auto !important;
        max-width: calc(100% - 8px) !important;
        margin: 0.5rem auto !important;
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 12px !important;
    }
    
    /* Vehicle options - grid mejorado */
    .vehicle-options {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .vehicle-card {
        width: auto;
        min-width: 200px;
        max-width: calc(100% - 16px);
        margin: 0 auto;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Form grid - disposición vertical en mobile */
    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    /* Stats grid - cards centradas y proporcionadas */
    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
    }
    
    .stats-grid > div {
        width: auto;
        min-width: 150px;
        max-width: calc(100% - 16px);
        padding: 0.75rem;
        text-align: center;
    }
    
    /* Botones - ajustados a contenido */
    .btn, .btn-modern {
        width: auto;
        min-width: 120px;
        max-width: calc(100% - 16px);
        padding: 0.75rem 1.5rem;
        margin: 0.25rem auto;
        display: inline-block;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Asegurar que inputs y selects usen ancho completo */
    input, select, textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* === ANIMACIONES PARA PRECIO DESTACADO === */

/* Shimmer animation para el fondo del precio */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Pulse animation para cuando se actualiza el precio */
@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Bounce animation para entrada */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.98) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Glow effect para el precio */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(243, 156, 18, 0.6), 0 0 40px rgba(243, 156, 18, 0.2);
    }
}

/* Estilos para la sección de precio destacado */
.price-highlight {
    position: relative;
    animation: bounceIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Precio animado */
.animated-price {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animated-price.updating {
    animation: priceUpdate 0.6s ease-in-out;
}

/* Hover effect para toda la card del precio */
.price-highlight:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .animated-price {
        font-size: 2rem !important;
    }
    
    .price-highlight {
        padding: 1rem !important;
    }
    
    #trip-summary-card {
        margin-bottom: 1rem !important;
    }
}

/* === ANIMACIONES PARA PRECIO FINAL EN RESULTADOS === */

/* Animación de entrada para el precio final */
@keyframes finalPriceBounce {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-30px);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) translateY(-5px);
    }
    80% {
        transform: scale(0.95) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Pulse para actualización de precio final */
@keyframes finalPriceUpdate {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.08);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* Glow effect más intenso para precio final */
@keyframes intenseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4), 0 0 0 0 rgba(243, 156, 18, 0.4);
    }
    50% {
        box-shadow: 0 12px 35px rgba(243, 156, 18, 0.7), 0 0 20px 5px rgba(243, 156, 18, 0.3);
    }
}

/* Estilos para la sección final de precio */
.price-highlight-final {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: continuousGlow 1s infinite;
}

.price-highlight-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.price-highlight-final:hover::before {
    left: 100%;
}

/* Continuous glow animation every 1 second */

@keyframes continuousGlow {
    0%, 70% {
        box-shadow: 0 2px 8px rgba(211, 84, 0, 0.4);
    }
    35% {
        box-shadow: 0 4px 16px rgba(211, 84, 0, 0.7), 0 0 10px rgba(211, 84, 0, 0.5);
    }
}

/* Precio final animado */
.animated-price-final {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animated-price-final.updating {
    animation: finalPriceUpdate 0.8s ease-in-out;
}

/* Responsive para precio final integrado */
@media (max-width: 768px) {
    .animated-price-final {
        font-size: 1.2rem !important;
    }
    
    .price-highlight-final {
        padding: 0.6rem !important;
    }
    
    /* Ajustar grid de información del viaje para incluir todos los elementos */
    #route-info {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
}

/* Glowing effect for origin/destination selects until they are used */
.glow-hint {
    animation: glowHint 2s ease-in-out infinite alternate;
    box-shadow: 0 0 5px var(--color-primario), 0 0 10px var(--color-primario), 0 0 15px var(--color-primario);
    border-color: var(--color-primario) !important;
}

@keyframes glowHint {
    from {
        box-shadow: 0 0 5px var(--color-primario), 0 0 10px var(--color-primario), 0 0 15px var(--color-primario);
        border-color: var(--color-primario);
    }
    to {
        box-shadow: 0 0 10px var(--color-primario), 0 0 20px var(--color-primario), 0 0 30px var(--color-primario);
        border-color: var(--color-secundario);
    }
}

@media (max-width: 480px) {
    .animated-price-final {
        font-size: 1.1rem !important;
    }
    
    /* En móviles muy pequeños, una sola columna */
    #route-info {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
}

