
/* Google Fonts ahora se cargan via <link> en HTML para mejor performance */

/* --- Skip to Content (Accesibilidad) --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primario);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--color-secundario);
    outline-offset: 2px;
}

/* --- Visually Hidden (Accesibilidad) --- */
/* Oculta visualmente pero mantiene accesible para lectores de pantalla */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Variables de Color --- */
:root {
    /* Colores Primarios - MODO CLARO (alineados con logo corporativo) */
    --color-primario: #0d47a1;           /* Azul logo corporativo */
    --color-primario-hover: #0a3580;     /* Azul más oscuro para hover */
    --color-primario-light: #1565c0;     /* Azul claro (shade intermedio) */
    --color-secundario: #ff6f00;         /* Naranja logo corporativo */
    --color-secundario-hover: #e56300;   /* Naranja oscuro para hover */
    --color-acento: #26a69a;             /* Verde azulado */
    --color-acento-hover: #1e8e84;       /* Verde oscuro para hover */

    /* Fondos - MODO CLARO */
    --color-fondo: #f8f9fa;              /* Gris muy claro para fondo general */
    --color-cabecera-fondo: #ffffff;     /* Blanco puro para header */
    --color-tarjeta-fondo: #ffffff;      /* Blanco puro para cards */
    --color-gris-claro: #f5f5f5;         /* Gris claro para secciones */
    --color-gris-medio: #e0e0e0;         /* Gris medio para divisores */

    /* Textos - MODO CLARO (Alto contraste) */
    --color-texto: #212121;              /* Negro casi puro - ratio 16:1 */
    --color-texto-fuerte: #000000;       /* Negro absoluto para títulos */
    --color-texto-secundario: #616161;   /* Gris oscuro - ratio 7:1 */
    --color-texto-muted: #757575;        /* Gris medio para hints */

    /* Bordes y Divisores */
    --color-borde: #e0e0e0;              /* Borde gris claro */
    --color-borde-fuerte: #bdbdbd;       /* Borde más visible */

    /* Colores Utilitarios */
    --color-blanco: #ffffff;
    --color-blanco-puro: #ffffff;
    --color-negro: #000000;
    --color-btn-text: #ffffff;           /* Texto en botones - siempre blanco */
    --color-success: #2e7d32;            /* Verde oscuro */
    --color-success-light: #e8f5e9;      /* Verde claro fondo */
    --color-warning: #f57c00;            /* Naranja oscuro */
    --color-warning-light: #fff3e0;      /* Amarillo claro fondo */
    --color-error: #c62828;              /* Rojo oscuro */
    --color-error-light: #ffebee;        /* Rojo claro fondo */
    --color-info: #1976d2;               /* Azul */
    --color-info-light: #e3f2fd;         /* Azul claro fondo */

    /* Colores Semánticos para Texto */
    --color-text-success: #1b5e20;       /* Verde oscuro texto */
    --color-text-danger: #b71c1c;        /* Rojo oscuro texto */
    --color-text-warning: #e65100;       /* Naranja oscuro texto */
    --color-text-link: #0d47a1;          /* Azul link (logo) */
    --color-whatsapp: #25D366;           /* WhatsApp verde */

    /* Input/Form backgrounds */
    --color-input-bg: #ffffff;
    --color-input-border: #e0e0e0;
    --color-input-focus: #0d47a1;

    /* Overlays y Gradientes */
    --color-overlay-light: rgba(255, 255, 255, 0.95);
    --color-overlay-dark: rgba(0, 0, 0, 0.5);
    --color-info-bg: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);

    /* Sistema de espaciado unificado */
    --space-3xs: 0.125rem;  /* 2px */
    --space-2xs: 0.25rem;   /* 4px */
    --space-xs: 0.5rem;     /* 8px */
    --space-sm: 0.75rem;    /* 12px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */

    /* Radios de borde unificados */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Duraciones de animación */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Sombras */
    --sombra-tarjeta: 0 4px 20px rgba(0,0,0,0.1);
    --sombra-hover: 0 8px 25px rgba(0,0,0,0.15);
    --sombra-intensa: 0 12px 40px rgba(0,0,0,0.2);

    /* Gradientes */
    --gradiente-primario: linear-gradient(135deg, #0d47a1, #0a3580);
    --gradiente-secundario: linear-gradient(135deg, #ff6f00, #ff8f00);

    /* Premium/Executive Design Tokens */
    --color-hero-overlay: linear-gradient(135deg, rgba(6, 16, 33, 0.92), rgba(13, 71, 161, 0.78));
    --color-section-dark: #061a33;
    --color-gold-accent: #c9a84c;
    --space-section: clamp(5rem, 10vw, 8rem);
    --radius-premium: 24px;
    --sombra-premium: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition-premium: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --faq-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
    /* Colores Primarios - MODO OSCURO (Alto contraste) */
    --color-primario: #5c9ce6;           /* Azul claro para legibilidad en dark */
    --color-primario-hover: #7ab4f0;     /* Azul más claro para hover */
    --color-primario-light: #90caf9;     /* Azul light en dark mode */
    --color-secundario: #ff9a44;         /* Naranja claro para dark backgrounds */
    --color-secundario-hover: #ffb366;   /* Naranja claro para hover */
    --color-acento: #4dd0e1;             /* Cyan vibrante */
    --color-acento-hover: #80deea;       /* Cyan claro para hover */

    /* Fondos - MODO OSCURO */
    --color-fondo: #121212;              /* Negro profundo Material Design */
    --color-cabecera-fondo: #1e1e1e;     /* Gris oscuro para header */
    --color-tarjeta-fondo: #1e1e1e;      /* Gris oscuro para cards */
    --color-gris-claro: #2a2a2a;         /* Gris medio para secciones */
    --color-gris-medio: #3d3d3d;         /* Gris para divisores - más claro */

    /* Textos - MODO OSCURO (Alto contraste) */
    --color-texto: #e8e8e8;              /* Gris muy claro - ratio 13:1 */
    --color-texto-fuerte: #ffffff;       /* Blanco puro para títulos - ratio 21:1 */
    --color-texto-secundario: #c0c0c0;   /* Gris claro para secundario - ratio 9:1 */
    --color-texto-muted: #a8a8a8;        /* Gris medio para hints - ratio 5.5:1 WCAG AA */

    /* Bordes y Divisores */
    --color-borde: #404040;              /* Borde gris más visible */
    --color-borde-fuerte: #555555;       /* Borde aún más visible */

    /* Colores Utilitarios - MODO OSCURO */
    --color-blanco: #ffffff;             /* Blanco se mantiene blanco */
    --color-blanco-puro: #ffffff;        /* CORREGIDO: Blanco puro siempre es blanco */
    --color-negro: #121212;              /* Negro es el fondo oscuro */
    --color-success: #81c784;            /* Verde claro mejorado */
    --color-success-light: #1b3d1e;      /* Verde oscuro fondo */
    --color-warning: #ffb74d;            /* Naranja claro mejorado */
    --color-warning-light: #3d2c0f;      /* Naranja oscuro fondo */
    --color-error: #e57373;              /* Rojo claro mejorado */
    --color-error-light: #3d1a1a;        /* Rojo oscuro fondo */
    --color-info: #64b5f6;               /* Azul claro */
    --color-info-light: #1a2a3d;         /* Azul oscuro fondo */

    /* Overlays y Gradientes */
    --color-overlay-light: rgba(30, 30, 30, 0.95);
    --color-overlay-dark: rgba(0, 0, 0, 0.85);
    --color-info-bg: linear-gradient(135deg, #1a1a2e 0%, #1e2a38 100%);

    /* Sombras con borde sutil para visibilidad en modo oscuro */
    --sombra-tarjeta: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    --sombra-hover: 0 8px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
    --sombra-intensa: 0 12px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1);

    /* Gradientes ajustados para modo oscuro - más vibrantes */
    --gradiente-primario: linear-gradient(135deg, #5c9ce6, #0d47a1);
    --gradiente-secundario: linear-gradient(135deg, #ff8f00, #ff6f00);

    /* Premium/Executive Dark Mode Tokens */
    --color-hero-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.94), rgba(13, 71, 161, 0.6));
    --color-section-dark: #0d1117;
    --color-gold-accent: #e0b94e;
    --sombra-premium: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);

    /* Colores específicos para secciones en modo oscuro */
    --color-hero-bg-dark: linear-gradient(135deg, rgba(13,71,161,0.2), rgba(255,111,0,0.2));
    --color-card-destacada: #252525;
    --color-banner-bg: #1a2332;
    --color-precio-bg: #1e2a38;

    /* Input/Form backgrounds específicos para dark mode */
    --color-input-bg: #2a2a2a;
    --color-input-border: #404040;
    --color-input-focus: #5c9ce6;

    /* Colores Semánticos para Texto - Dark Mode */
    --color-text-success: #81c784;       /* Verde claro texto */
    --color-text-danger: #e57373;        /* Rojo claro texto */
    --color-text-warning: #ffb74d;       /* Naranja claro texto */
    --color-text-link: #5c9ce6;          /* Azul claro link */
    --color-whatsapp: #25D366;           /* WhatsApp verde - igual */
    --color-btn-text: #ffffff;           /* Texto en botones - siempre blanco */
}

/* --- Estilos Base y Tipografía --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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: var(--space-lg);
}

/* Tipografía con contraste perfecto */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primario);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    color: var(--color-texto);
    line-height: 1.7;
    margin-bottom: 1rem;
}

strong, b {
    color: var(--color-texto-fuerte);
    font-weight: 700;
}

small {
    color: var(--color-texto-secundario);
    font-size: 0.875rem;
}

a {
    color: var(--color-secundario);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primario);
}

/* Excluir botones del color de hover genérico de links */
a.btn:hover,
a.btn-primary:hover,
a.btn-secondary:hover,
a.btn-large:hover,
a.button:hover {
    color: #FFF5E1; /* Amarillo crema para contraste con fondo azul */
}

a:focus-visible {
    outline: 2px solid var(--color-primario);
    outline-offset: 2px;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border: none;
    border-top: 1px solid var(--color-borde);
    margin: var(--space-xl) 0;
}

/* --- 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: var(--space-2xl);
    position: relative;
    padding-bottom: var(--space-md);
}

.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); 
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays para grids */
.services-grid > *:nth-child(1) { --stagger: 0s; }
.services-grid > *:nth-child(2) { --stagger: 0.1s; }
.services-grid > *:nth-child(3) { --stagger: 0.2s; }
.services-grid > .fade-in { transition-delay: var(--stagger); }

@media (prefers-reduced-motion: reduce) {
    .fade-in-left, .fade-in-right, .fade-in-scale,
    .fade-in-left.visible, .fade-in-right.visible, .fade-in-scale.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Portada (Hero) - Premium/Ejecutivo --- */
.hero {
    position: relative;
    padding: clamp(6rem, 14vw, 12rem) 20px;
    color: var(--color-blanco);
    text-align: center;
    background: url('../img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-hero-overlay);
    z-index: 1;
}

.hero .container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-accent);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: var(--radius-full);
}

.hero h1 {
    color: var(--color-blanco);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Hero text always white - dark background */
.hero p,
.hero .subtitle {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-cta .btn {
    min-width: 200px;
}

.btn-hero-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3.5rem;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
}

.hero-trust-bar .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.hero-trust-bar .trust-item strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.hero-trust-bar .trust-item span {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.hero-trust-bar .trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

/* Button with Badge */
.btn-with-badge {
    position: relative;
    overflow: visible;
}

.btn-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-secundario);
    color: var(--color-blanco);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: clamp(4rem, 10vw, 6rem) 1.5rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.05em;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-trust-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
        border-radius: var(--radius-xl);
        margin-top: 2.5rem;
    }

    .hero-trust-bar .trust-item {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0;
    }

    .hero-trust-bar .trust-item strong {
        font-size: 1.2rem;
    }

    .hero-trust-bar .trust-divider {
        width: 60%;
        height: 1px;
    }
}

/* --- Sistema Unificado de Botones --- */
.btn {
    /* Estructura base */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xs, 0.5rem);

    /* Espaciado y dimensiones - M001: Touch Target Optimization */
    padding: var(--space-sm, 1rem) var(--space-lg, 2rem);
    min-height: 48px; /* Accesibilidad: mínimo 48px */
    min-width: 48px; /* M001: Touch target mínimo */
    border-radius: 12px;

    /* Tipografía */
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;

    /* Comportamiento */
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;

    /* Colores por defecto (primario) */
    background: var(--gradiente-primario);
    color: var(--color-btn-text);
    box-shadow: var(--sombra-tarjeta);
}

/* Estados interactivos unificados */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

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

.btn:active {
    transform: translateY(0);
    box-shadow: var(--sombra-tarjeta);
}

.btn:focus-visible {
    outline: 3px solid var(--color-primario);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: var(--sombra-tarjeta);
}

/* --- Tarjetas --- */
.card {
    display: flex;
    flex-direction: column;
    background: var(--color-tarjeta-fondo);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--sombra-tarjeta);
    text-align: center;
    transition: transform var(--duration-normal) ease, box-shadow var(--duration-normal) 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: var(--space-lg);
}

/* --- Grids --- */
.grid-3, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--color-texto-secundario);
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* --- Services Grid --- */
.services {
    padding: 4rem 0;
    background: var(--color-fondo);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--color-tarjeta-fondo);
    border-radius: var(--radius-premium);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--sombra-tarjeta);
    border: 1px solid var(--color-borde);
    transition: var(--transition-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 420px;
    position: relative;
    overflow: visible;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: var(--gradiente-primario);
    border-radius: 3px 3px 0 0;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-premium);
    border-color: rgba(13, 71, 161, 0.2);
}

.service-card:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-success);
    color: var(--color-blanco);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
    z-index: 10;
}

.service-card--popular {
    border-color: var(--color-success);
}

/* Service Icon Wrapper - Premium */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.08), rgba(38, 166, 154, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    transition: var(--transition-premium);
    color: var(--color-primario);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.14), rgba(38, 166, 154, 0.14));
}

/* Service Price Tag */
.service-price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin: 1rem 0;
    padding: 0.6rem 1.5rem;
    background: var(--color-gris-claro);
    border-radius: var(--radius-full);
}

.service-price-tag .price-from {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-texto-secundario);
}

.service-price-tag .price-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primario);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    display: block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Vehicle and generic icon styling */
.vehicle-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.vehicle-option:hover .vehicle-icon {
    transform: scale(1.1);
}

/* Icon in labels and buttons */
label .vehicle-icon,
button .vehicle-icon {
    vertical-align: middle;
    margin-right: 0.25rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primario);
    font-weight: 700;
}

.service-card p {
    color: var(--color-texto);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-price {
    font-weight: 700;
    color: var(--color-primario);
    margin: 0.8rem 0;
    font-size: 1.2rem;
}

.service-card .btn {
    margin-top: auto;
    width: 100%;
    max-width: 240px;
}

body.dark-mode .service-badge {
    background: var(--color-success);
    box-shadow: 0 2px 8px rgba(102, 187, 106, 0.4);
}

body.dark-mode .service-card {
    border-color: var(--color-borde);
}

body.dark-mode .service-card--popular {
    border-color: var(--color-success);
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .service-icon-wrapper {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .service-icon-wrapper svg {
        width: 26px;
        height: 26px;
    }

    .service-icon {
        font-size: 3rem;
        margin-top: 1rem;
    }

    .vehicle-icon {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-price {
        font-size: 1.1rem;
    }
}

/* --- How It Works Section --- */
.how-it-works {
    padding: var(--space-section) 0;
    background: var(--color-tarjeta-fondo);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primario), var(--color-acento));
    opacity: 0.3;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradiente-primario);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step:hover .step-number-circle {
    transform: scale(1.12);
}

.step-content {
    margin-top: 1.5rem;
}

.step-content h3 {
    font-size: 1.05rem;
    color: var(--color-texto-fuerte);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* Stagger animations */
.step[data-step="1"] { transition-delay: 0s; }
.step[data-step="2"] { transition-delay: 0.12s; }
.step[data-step="3"] { transition-delay: 0.24s; }
.step[data-step="4"] { transition-delay: 0.36s; }

@media (max-width: 768px) {
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 2rem;
    }

    .steps-timeline::before {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .step {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
        padding-bottom: 2.5rem;
    }

    .step-number-circle {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .step-content {
        margin-top: 0;
    }

    .step-content p {
        max-width: none;
    }
}

/* --- Stats Section --- */
.stats {
    background: linear-gradient(135deg, #061a33, #0d47a1);
    color: var(--color-blanco);
    padding: var(--space-section) 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    border-top: 3px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-premium);
}

.stat-item:hover {
    border-top-color: var(--color-gold-accent);
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.2rem;
    color: var(--color-gold-accent);
    opacity: 0.9;
}

.stat-counter {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #FFF5E1;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
    letter-spacing: -0.03em;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .stats {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }

    .stat-counter {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }
}

/* --- FAQ Accordion --- */
.faq-section {
    background: var(--color-fondo);
    padding: var(--space-section) 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-tarjeta-fondo);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-borde);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--sombra-tarjeta);
}

.faq-question {
    cursor: pointer;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    transition: background var(--faq-transition);
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-texto-fuerte);
    margin: 0;
    line-height: 1.4;
}

.faq-chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-texto-secundario);
    border-bottom: 2px solid var(--color-texto-secundario);
    transform: rotate(45deg);
    transition: transform var(--faq-transition);
    flex-shrink: 0;
}

details[open] .faq-chevron {
    transform: rotate(-135deg);
}

details[open] .faq-question {
    background: var(--color-gris-claro);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--color-texto);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* --- Footer - Premium Dark --- */
.footer {
    background: #0a192f;
    padding: var(--space-3xl) 0 0 0;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-secundario);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer-col ul a:hover { color: var(--color-secundario); }

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: var(--space-xl);
}

.footer-trust-badge {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-admin-link {
    color: rgba(255, 255, 255, 0.2) !important;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-admin-link:hover {
    color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-trust {
        gap: 0.5rem;
    }

    .footer-trust-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Header y Navegación Mejorada --- */
.header {
    background-color: var(--color-cabecera-fondo);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    will-change: backdrop-filter;
}

.header.scrolled {
    box-shadow: var(--sombra-tarjeta);
    padding: var(--space-sm) 0;
}

.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: var(--space-xs);
}

.desktop-nav a {
    color: var(--color-texto);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) 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: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-overlay-dark);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-cabecera-fondo);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    list-style: none;
    padding: 100px 20px 20px 20px;
    margin: 0;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

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

.mobile-nav a {
    display: block;
    padding: 16px 20px;
    color: var(--color-texto);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    border: 2px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--color-gris-claro);
    color: var(--color-primario);
    border-color: var(--color-primario);
    transform: translateX(-4px);
}

.mobile-nav-footer {
    position: fixed;
    bottom: 0;
    right: -100%;
    width: 280px;
    padding: 20px;
    background: var(--color-gris-claro);
    border-top: 2px solid var(--color-borde);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-nav-footer .theme-switch {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

/* Estado Abierto */
body.nav-open .mobile-nav {
    display: block;
    opacity: 1;
    visibility: visible;
}

body.nav-open .mobile-nav ul,
body.nav-open .mobile-nav-footer {
    right: 0;
}

body.nav-open {
    overflow: hidden;
}

/* Dark Mode para Mobile Nav */
body.dark-mode .mobile-nav ul {
    background: var(--color-cabecera-fondo);
    box-shadow: -4px 0 20px rgba(0,0,0,0.8);
}

body.dark-mode .mobile-nav-footer {
    background: var(--color-gris-claro);
    border-top-color: var(--color-borde);
}

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);
}

/* Hamburger Icon - Usando emoji genérico */
.hamburger {
    display: none;
    background: var(--color-gris-claro);
    border: 2px solid var(--color-borde);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    font-size: 1.5rem;
    line-height: 1;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--color-primario);
    border-color: var(--color-primario);
    transform: scale(1.05);
}

.hamburger:active {
    transform: scale(0.95);
}

/* Icono hamburguesa usando CSS puro (3 líneas) */
.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 22px;
}

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

body.nav-open .hamburger {
    background: var(--color-secundario);
    border-color: var(--color-secundario);
}

body.nav-open .hamburger-lines span {
    background: var(--color-blanco);
}

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

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

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

body.dark-mode .hamburger {
    background: var(--color-gris-claro);
    border-color: var(--color-borde);
}

body.dark-mode .hamburger:hover {
    background: var(--color-primario);
    border-color: var(--color-primario);
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex !important; }

    .header .container {
        position: relative;
    }

    .header-actions {
        margin-right: 0.5rem;
    }
}

/* --- Estilos para Opciones de Vehículos --- */
.vehicle-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 100%;
}

.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: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 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;
    min-width: 48px; /* M001: Touch target */
    box-shadow: var(--sombra-tarjeta);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* M007: Mejor feedback táctil */
}

.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: linear-gradient(135deg, #0d47a1 0%, #d84315 100%);
    color: var(--color-blanco);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 50px rgba(13, 71, 161, 0.4);
}

/* En dark mode usar colores oscuros para mantener contraste con texto blanco */
body.dark-mode .vehicle-option input[type="radio"]:checked + .vehicle-card {
    background: linear-gradient(135deg, #0d47a1 0%, #d84315 100%);
    box-shadow: 0 15px 50px rgba(13, 71, 161, 0.6);
}

.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: var(--color-blanco);
    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: var(--color-blanco);
}

.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-hover);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    background: rgba(13, 71, 161, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .vehicle-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vehicle-option {
        min-width: unset;
    }
    
    .vehicle-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 1.25rem;
        min-height: 90px;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .vehicle-image {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        margin-right: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .vehicle-card:hover .vehicle-image {
        transform: scale(1.1) rotate(5deg);
    }
    
    .vehicle-info {
        text-align: left;
        flex: 1;
    }
    
    .vehicle-info strong {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    
    .vehicle-info small {
        padding: 0.3rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Responsive breakpoint para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .vehicle-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Responsive breakpoint para desktop grande */
@media (min-width: 1200px) {
    .vehicle-options {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 1rem auto 0;
    }
}

/* --- 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: var(--space-xl);
}

.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: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-input-border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    min-height: 48px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--color-input-bg);
    color: var(--color-texto);
}

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

/* Urgency badge */
.urgency-badge {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    background: var(--gradiente-secundario);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
    font-size: 0.9rem;
}

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

.trip-form-section {
    background: var(--color-tarjeta-fondo);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--sombra-tarjeta);
    border: 1px solid var(--color-borde);
    transition: all var(--duration-normal) ease;
}

.trip-form-section:hover {
    box-shadow: var(--sombra-hover);
    transform: translateY(-2px);
}

/* Variantes de botón unificadas */
.btn-primary, .btn--primary {
    background: var(--gradiente-primario);
    color: var(--color-btn-text);
    box-shadow: var(--sombra-tarjeta);
}

.btn-secondary, .btn--secondary {
    background: var(--gradiente-secundario);
    color: var(--color-btn-text);
    box-shadow: var(--sombra-tarjeta);
}

.btn-outline, .btn--outline {
    background: transparent;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
    box-shadow: none;
}

.btn-outline:hover, .btn--outline:hover {
    background: var(--color-primario);
    color: var(--color-btn-text);
}

.btn-ghost, .btn--ghost {
    background: transparent;
    color: var(--color-texto);
    box-shadow: none;
}

.btn-ghost:hover, .btn--ghost:hover {
    background: var(--color-gris-claro);
    color: var(--color-primario);
}

/* Tamaños de botón */
.btn-sm, .btn--sm {
    padding: var(--space-xs, 0.75rem) var(--space-sm, 1rem);
    font-size: 0.875rem;
    min-height: 36px;
}

.btn-large, .btn-lg, .btn--lg {
    padding: var(--space-md, 1.5rem) var(--space-xl, 3rem);
    font-size: 1.125rem;
    min-height: 56px;
}

/* Botón de ancho completo */
.btn-full, .btn--full {
    width: 100%;
}

/* Selectores de modo usando el sistema unificado */
.mode-selector {
    display: flex;
    gap: var(--space-sm, 1rem);
    margin-bottom: var(--space-lg, 2rem);
    justify-content: center;
    flex-wrap: wrap;
}

.mode-btn {
    /* Extiende .btn pero con estilos específicos */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm, 1rem) var(--space-md, 1.5rem);
    border: 2px solid var(--color-borde);
    border-radius: 12px;
    background: var(--color-tarjeta-fondo);
    color: var(--color-texto);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 160px;
    text-align: center;
    min-height: 48px;
    font-size: 1rem;
    text-decoration: none;
}

.mode-btn:hover,
.mode-btn.active {
    border-color: var(--color-primario);
    background: var(--gradiente-primario);
    color: var(--color-btn-text);
    transform: translateY(-2px);
    box-shadow: var(--sombra-hover);
}

/* Quote Section */
.quote-section {
    padding: 4rem 0;
    background: var(--color-gris-claro);
}

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

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-form {
    background: var(--color-tarjeta-fondo);
    padding: 2.5rem;
    border-radius: var(--radius-premium);
    box-shadow: var(--sombra-premium);
    border: 1px solid var(--color-borde);
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.section-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.vehicle-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .quote-section {
        padding: 3rem 0;
    }

    .quote-form {
        padding: 1.5rem;
    }

    .vehicle-selector {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* 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-info-bg);
    border: 2px solid var(--color-primario);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: background 0.3s ease;
}

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

/* 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, #0d47a1 0%, #0a3580 100%);
    color: var(--color-blanco);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 12px 48px rgba(13, 71, 161, 0.3);
    position: relative;
    overflow: hidden;
}

/* En modo oscuro mantener gradiente azul oscuro para buen contraste */
body.dark-mode #trip-summary-card {
    background: linear-gradient(135deg, #0d47a1 0%, #0a3580 100%);
}

#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: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.stat-card {
    background: var(--color-tarjeta-fondo);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--sombra-tarjeta);
    border: 1px solid var(--color-borde);
    transition: all var(--duration-normal) ease;
}

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

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

.stat-label {
    color: var(--color-texto-secundario);
    font-weight: 600;
    transition: color 0.3s ease;
}

/* 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: var(--gradiente-secundario);
    color: var(--color-btn-text);
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    border: 2px solid var(--color-blanco);
    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(255, 107, 53, 0.5), 0 0 0 0 rgba(255, 107, 53, 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(255, 107, 53, 0.5), 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.7), 0 0 0 8px rgba(255, 107, 53, 0.1);
    }
}

#calculate-route-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, var(--color-secundario-hover) 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: var(--color-gris-claro);
    color: var(--color-texto-fuerte);
    border: 2px solid var(--color-borde);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

#center-map-btn:hover {
    background: var(--color-tarjeta-fondo);
    color: var(--color-primario);
    border-color: var(--color-primario);
    transform: translateY(-2px);
    box-shadow: var(--sombra-tarjeta);
}



/* Predefined Destinations List - Fixed contrast colors */
#predefined-form select,
#origen,
#destino {
    background: var(--color-tarjeta-fondo);
    color: var(--color-texto);
    border: 2px solid var(--color-borde);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

#predefined-form select:hover,
#origen:hover,
#destino:hover {
    border-color: var(--color-primario);
    background: var(--color-gris-claro);
    transform: translateY(-1px);
}

#predefined-form select:focus,
#origen:focus,
#destino:focus {
    outline: none;
    border-color: var(--color-input-focus);
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.2);
    transform: scale(1.02);
}

/* Predefined destinations select options */
#predefined-form select option,
#origen option,
#destino option {
    background: var(--color-tarjeta-fondo);
    color: var(--color-texto);
    padding: 0.5rem;
}





/* 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;
}

/* ========================================
   ESTILOS PARA FORMULARIO DE RESERVA
   ======================================== */

.reserve-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--color-tarjeta-fondo);
    border-radius: 16px;
    box-shadow: var(--sombra-tarjeta);
    animation: fadeIn 0.5s ease-in-out;
}

.form-section-title {
    color: var(--color-primario);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.trip-summary-card {
    background: var(--color-gris-claro);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--sombra-tarjeta);
    border: 1px solid var(--color-borde);
}

.trip-summary-card h4 {
    color: var(--color-texto-fuerte);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Dark mode override para trip-summary-card */
body.dark-mode .trip-summary-card {
    background: var(--color-tarjeta-fondo);
    border-color: var(--color-borde);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem;
    background: var(--color-tarjeta-fondo);
    border-radius: 8px;
    border: 1px solid var(--color-borde);
}

.summary-label {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
    font-weight: 600;
}

.summary-value {
    font-size: 1rem;
    color: var(--color-texto-fuerte);
    font-weight: 600;
}

.summary-value.price-highlight {
    color: var(--color-primario);
    font-size: 1.3rem;
}

.reserve-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reserve-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.reserve-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reserve-form label {
    font-weight: 600;
    color: var(--color-texto);
    font-size: 0.95rem;
}

.reserve-form input,
.reserve-form textarea,
.reserve-form select {
    padding: 0.9rem;
    border: 2px solid var(--color-input-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--color-input-bg);
    color: var(--color-texto);
}

.reserve-form input:focus,
.reserve-form textarea:focus,
.reserve-form select:focus {
    outline: none;
    border-color: var(--color-input-focus);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}

.reserve-form textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    min-width: 200px;
}

.quote-result-card .actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.quote-result-card .actions .btn {
    min-width: 250px;
}

/* Responsive */
@media (max-width: 768px) {
    .reserve-section {
        padding: 1.5rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .reserve-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .quote-result-card .actions {
        flex-direction: column;
    }

    .quote-result-card .actions .btn {
        width: 100%;
        min-width: auto;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ESTILOS PARA HEADER ACTIONS
   ======================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botón de cambio de tema */
.theme-switch {
    background: transparent;
    border: 2px solid var(--color-borde);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

body.dark-mode .theme-switch {
    background: var(--color-tarjeta-fondo);
    border-color: var(--color-primario);
}

/* --- Language Switch --- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primario);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
}
.lang-switch:hover {
    background: var(--color-secundario);
    transform: scale(1.1);
    color: #fff;
}
body.dark-mode .lang-switch {
    background: var(--color-primario);
    border-color: var(--color-borde);
}
body.dark-mode .lang-switch:hover {
    background: var(--color-secundario);
}

/* Link de administrador */
.admin-link {
    padding: 0.5rem;
    background: var(--color-tarjeta-fondo);
    border: 2px solid var(--color-borde);
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.admin-link:hover {
    background: var(--color-acento);
    border-color: var(--color-acento);
    opacity: 1;
    transform: scale(1.1);
}

body.dark-mode .admin-link {
    background: var(--color-tarjeta-fondo);
    border-color: var(--color-primario);
}

/* Responsive para header actions */
@media (max-width: 768px) {
    .header-actions {
        gap: 0.5rem;
    }

    .theme-switch,
    .lang-switch,
    .admin-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .theme-switch {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   MODO OSCURO - FONDOS DE CONTENEDORES
   ============================================ */

body.dark-mode .info-card,
body.dark-mode .service-card,
body.dark-mode .tour-package,
body.dark-mode .pricing-card,
body.dark-mode .feature-card {
    background: var(--color-tarjeta-fondo) !important;
    border-color: var(--color-borde) !important;
}

body.dark-mode .info-card h2,
body.dark-mode .info-card h3,
body.dark-mode .service-card h2,
body.dark-mode .service-card h3,
body.dark-mode .tour-package h2,
body.dark-mode .tour-package h3 {
    color: var(--color-texto-fuerte) !important;
}

body.dark-mode .info-card p,
body.dark-mode .info-card li,
body.dark-mode .service-card p,
body.dark-mode .service-card li,
body.dark-mode .tour-package p,
body.dark-mode .tour-package li {
    color: var(--color-texto) !important;
}

body.dark-mode p[style*="background: #fff3cd"],
body.dark-mode p[style*="background:#fff3cd"] {
    background: #3a3520 !important;
    border-left-color: #ffc107 !important;
    color: var(--color-texto) !important;
}

body.dark-mode div[style*="background: #f8f9fa"],
body.dark-mode div[style*="background:#f8f9fa"] {
    background: #1e1e1e !important;
    color: var(--color-texto) !important;
}

body.dark-mode div[style*="background: #e8f5e8"],
body.dark-mode div[style*="background:#e8f5e8"] {
    background: #1a2e1a !important;
    border-left-color: #4CAF50 !important;
    color: var(--color-texto) !important;
}

body.dark-mode div[style*="background: #e3f2fd"],
body.dark-mode div[style*="background:#e3f2fd"] {
    background: #1a2332 !important;
    color: var(--color-texto) !important;
}

body.dark-mode div[style*="background: linear-gradient(135deg, #f8f9ff"],
body.dark-mode div[style*="background:linear-gradient(135deg, #f8f9ff"] {
    background: linear-gradient(135deg, #1a1a2e 0%, #1e2a38 100%) !important;
    color: var(--color-texto) !important;
}

body.dark-mode [style*="color: #666"],
body.dark-mode [style*="color:#666"] {
    color: var(--color-texto-secundario) !important;
}

body.dark-mode [style*="color: #2E7D32"],
body.dark-mode [style*="color:#2E7D32"] {
    color: #66bb6a !important;
}

body.dark-mode [style*="color: #d32f2f"],
body.dark-mode [style*="color:#d32f2f"] {
    color: #ef5350 !important;
}

body.dark-mode .cta-banner {
    background: var(--gradiente-primario) !important;
    color: var(--color-blanco) !important;
}

body.dark-mode .cta-banner h2,
body.dark-mode .cta-banner p {
    color: var(--color-blanco) !important;
}

body.dark-mode .hero-section {
    background: var(--color-hero-bg-dark) !important;
}

body.dark-mode .stats-section {
    background: var(--color-tarjeta-fondo) !important;
}

/* === Semantic Color Classes === */
/* Text Colors */
.text-primary {
    color: var(--color-primario) !important;
}

.text-secondary {
    color: var(--color-texto-secundario) !important;
}

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

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

.text-white {
    color: var(--color-blanco) !important;
}

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

.text-muted {
    color: var(--color-texto-muted) !important;
}

/* Background Colors - usando variables cuando es posible */
.bg-warning-light {
    background: var(--color-warning-light) !important;
}

.bg-light {
    background: var(--color-gris-claro) !important;
}

.bg-success-light {
    background: var(--color-success-light) !important;
}

.bg-info-light {
    background: var(--color-info-light) !important;
}

.bg-gradient-orange {
    background: var(--gradiente-secundario) !important;
}

.bg-gradient-primary {
    background: var(--gradiente-primario) !important;
}

.bg-white-transparent {
    background: rgba(255,255,255,0.15) !important;
}

body.dark-mode .bg-white-transparent {
    background: rgba(255,255,255,0.08) !important;
}

.bg-success {
    background: var(--color-success) !important;
}

.bg-orange {
    background: var(--color-secundario) !important;
}

.bg-whatsapp {
    background: var(--color-whatsapp) !important;
}

/* Border Colors */
.border-warning {
    border-left: 4px solid var(--color-warning) !important;
}

.border-success {
    border-left: 4px solid var(--color-success) !important;
}

/* Nota: bg-success-light, bg-info-light ya usan variables CSS
   que se adaptan automáticamente en dark mode */

body.dark-mode .bg-white-transparent {
    background: rgba(30,30,30,0.7) !important;
}

body.dark-mode .bg-gradient-orange {
    background: linear-gradient(135deg, #d84315, #bf360c) !important;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--color-fondo);
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primario);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-tarjeta-fondo);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--sombra-tarjeta);
    border: 1px solid var(--color-borde);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-hover);
}

.faq-item h3 {
    color: var(--color-primario);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--color-texto);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }
}

/* ============================================
   ESTILOS GLOBALES PARA PÁGINAS DE SERVICIO
   ============================================ */

.service-page-header {
    background: linear-gradient(135deg, var(--color-primario), var(--color-acento));
    color: var(--color-blanco);
    padding: 5rem 0 3rem;
    text-align: center;
}

.service-page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--color-blanco);
}

.service-page-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: var(--color-blanco);
}

.price-highlight {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-blanco);
}

.service-content {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.info-card {
    background: var(--color-tarjeta-fondo);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--sombra-tarjeta);
}

.info-card h2 {
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--color-primario);
    margin-bottom: 0.5rem;
}

.info-card p,
.info-card li {
    color: var(--color-texto);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    background: var(--color-gris-claro);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primario);
}

.info-item h3 {
    color: var(--color-texto-fuerte);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--color-texto);
}

.destinations-list {
    list-style: none;
    padding: 0;
}

.destinations-list li {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--color-gris-claro);
    border-radius: 12px;
    display: flex;
    align-items: start;
    box-shadow: var(--sombra-tarjeta);
    color: var(--color-texto);
}

.destinations-list li::before {
    content: "🏔️";
    margin-right: 1rem;
    font-size: 1.8rem;
}

.destinations-list li strong {
    color: var(--color-texto-fuerte);
}

.destinations-list li em {
    color: var(--color-texto-secundario);
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-primario), var(--color-acento));
    color: var(--color-blanco);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.cta-banner h2,
.cta-banner p {
    color: var(--color-blanco);
}

.tour-package {
    background: var(--color-gris-claro);
    border: 2px solid var(--color-acento);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.tour-package h3 {
    color: var(--color-acento-hover);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tour-package p {
    color: var(--color-texto);
}

body.dark-mode .service-page-header {
    background: linear-gradient(135deg, #0d47a1, #0a3580);
}

body.dark-mode .tour-package {
    background: var(--color-tarjeta-fondo);
    border-color: var(--color-acento);
}

body.dark-mode .info-item,
body.dark-mode .destinations-list li {
    background: var(--color-tarjeta-fondo);
}

@media (max-width: 768px) {
    .service-page-header h1 {
        font-size: 2rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* === Generic Icon Utility Classes === */
.icon {
    display: inline-block;
    line-height: 1;
    font-style: normal;
}

.icon-sm {
    font-size: 1.5rem;
}

.icon-md {
    font-size: 2.5rem;
}

.icon-lg {
    font-size: 3rem;
}

.icon-xl {
    font-size: 4rem;
}

/* Ensure all emojis render consistently */
.service-icon,
.vehicle-icon,
.value-icon,
.icon {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}

@media (max-width: 768px) {
    .icon-lg {
        font-size: 2.5rem;
    }

    .icon-xl {
        font-size: 3rem;
    }
}

