/* ========================================
   EXPRESO BRASILIA - ESTILOS FINALES
   100% SIMILITUD
   ======================================== */

/* Variables CSS */
:root {
    --primary-blue: #00529c;
    --primary-blue-dark: #003d73;
    --accent-red: #bf0811;
    --dark-text: #232323;
    --gray-text: #595959;
    --gray-text-light: #767676;
    --white: #ffffff;
    --gray-light: #fafafa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    /* Border-radius tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Font tokens */
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

/* Reset y Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    padding-bottom: 60px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.hidden {
    display: none !important;
}

/* ========================================
   WRAPPER CON GRADIENTE AZUL
   Cubre desde el header hasta antes del carrusel
   ======================================== */
.blue-gradient-wrapper {
    background: linear-gradient(
        180deg,
        #00529c 0%,
        #003d73 20%,
        #1a2a3a 50%,
        #232323 70%,
        #232323 100%
    );
    position: relative;
    padding-bottom: 40px;
}

.blue-gradient-wrapper > * {
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER - CORREGIDO FINAL
   ======================================== */
.header {
    background: transparent;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop Navigation - Oculto en móvil */
.desktop-nav {
    display: none;
}

/* Search icon button */
.search-icon-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    padding: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.search-icon-btn:hover {
    opacity: 0.7;
}

/* ========================================
   MENU LATERAL
   ======================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    background-color: var(--primary-blue);
}

.close-menu {
    color: var(--white);
    font-size: 24px;
    padding: 5px;
}

.menu-list {
    padding: 10px 0;
}

.menu-list > li {
    border-bottom: 1px solid #eee;
}

.menu-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 15px;
}

.menu-list > li > a:hover {
    background-color: var(--gray-light);
    color: var(--primary-blue);
}

.menu-list > li > a i {
    font-size: 12px;
    transition: var(--transition);
}

.has-submenu.open > a i {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    background-color: #f5f5f5;
    padding-left: 20px;
}

.has-submenu.open > .submenu {
    display: block;
}

.submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--gray-text);
    font-size: 14px;
}

.submenu li a:hover {
    color: var(--primary-blue);
}

.login-item a {
    color: var(--primary-blue) !important;
}

.login-item a i {
    margin-right: 8px;
}

/* Search icon in header */
.search-item a {
    color: var(--primary-blue) !important;
    padding: 10px 15px;
}

.search-item a i {
    font-size: 16px;
}

/* ========================================
   HERO SECTION - ESTRUCTURA UNIFICADA
   Mobile First: formulario arriba, carrusel abajo
   Desktop: formulario a la izquierda ENCIMA del carrusel
   ======================================== */

/* Contenedor principal del hero */
.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Contenedor del formulario de búsqueda - Móvil */
.search-form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 1;
    overflow: hidden;
    box-sizing: border-box;
}

/* Título "Viajamos con tus sueños" - Móvil */
/* Título DENTRO del wrapper azul - estilo bold sans-serif SIN itálica */
.hero-title {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 700;
    font-style: normal;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0 0 18px 0;
    white-space: normal;
    overflow-wrap: break-word;
    padding: 0 10px;
}

/* Carrusel wrapper - Móvil */
.carousel-wrapper {
    width: 100%;
    order: 2; /* Carrusel segundo en móvil */
}

/* ========================================
   SEARCH FORM - CORREGIDO FINAL
   ======================================== */

/* Wrapper del formulario - transparente como el original */
.search-form-wrapper {
    background: transparent;
    border-radius: var(--radius-lg);
    padding: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.search-form {
    width: 100%;
    position: relative;
    overflow: visible;
}

/* Progress bar removed - not in production */

/* ============================================
   RECUADRO 1: Origen y Destino - Grid de 3 columnas
   ============================================ */

.layout-grid-routes {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    padding: 18px 20px;
    position: relative;
    min-height: 180px;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

/* Columna izquierda con los campos */
.routes-fields {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.route-field {
    padding: 10px 5px;
    min-width: 0;
}

/* Fila del label con botones de acción */
.route-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-right: 0;
    min-width: 0;  /* Los tres puntos cerca del borde */
}

.route-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    font-family: var(--font-body);
}

/* Botones de acción en campos */
.route-field-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.clear-field-btn,
.field-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

/* Botón X - oculto por defecto, visible solo cuando hay valor */
.clear-field-btn {
    color: #999;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.route-field.has-value .clear-field-btn {
    opacity: 0.6;
    visibility: visible;
}

.clear-field-btn:hover {
    opacity: 1;
    color: #666;
}

.field-menu-btn {
    color: #DC291E;
    opacity: 0.8;
}

.field-menu-btn:hover {
    opacity: 1;
}

.route-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.route-icon {
    flex-shrink: 0;
    width: 15px;
    height: 16px;
}

.route-input-row input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    color: var(--dark-text);
    background: transparent;
    font-family: var(--font-body);
    min-width: 0;
    width: 100%;
    cursor: pointer;
}

.route-input-row input::placeholder {
    color: #999;
}

/* Línea separadora horizontal entre Origen y Destino */
.route-divider {
    height: 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
    margin: 5px 0;
    margin-right: -30px;  /* Extender hacia la derecha */
    width: 100%;
    overflow: hidden;
}

/* ========== ICONOS ORIGEN/DESTINO - Estados ========== */
/* Origen: gris por defecto, verde cuando activo */
.route-icon-origen circle {
    stroke: #9aa0a6;
    fill: #9aa0a6;
    transition: all 0.2s;
}

.route-field.isActive .route-icon-origen circle {
    stroke: #34a853;
    fill: #34a853;
}

/* Destino: PIN gris por defecto, rojo cuando activo */
.route-icon-destino path {
    fill: #9aa0a6;
    transition: all 0.2s;
}

.route-field.isActive .route-icon-destino path {
    fill: #D22730;
}

/* ========== Botón de intercambio en el BORDE DERECHO ========== */
/* Botón posicionado absolutamente en el borde derecho del recuadro */
.reverse-routes {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #D22730;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}

.reverse-routes:hover {
    background: rgba(210, 39, 48, 0.1);
}

.reverse-routes:hover svg path {
    fill: #D22730;
}

/* Línea punteada superior - se extiende FUERA del botón hacia arriba */
.reverse-routes::before {
    content: "";
    position: absolute;
    width: 0;
    height: 25px;
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 1px dashed #D22730;
}

/* Línea punteada inferior - se extiende FUERA del botón hacia abajo */
.reverse-routes::after {
    content: "";
    position: absolute;
    width: 0;
    height: 25px;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 1px dashed #D22730;
}

/* ============================================
   RECUADRO 2: Fechas - UN SOLO CARD CON DOS ESTADOS
   Usa clase .has-date para alternar entre estados
   ============================================ */

/* Card contenedor base - Label arriba, botones abajo */
.date-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

/* Label "¿Cuándo viajas?" */
.date-label {
    text-transform: none !important;
    color: #232323 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--font-body);
    margin: 0;
}

/* Contenedor de botones */
.date-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
}

/* Ocultar label y botones cuando hay fecha seleccionada */
.date-card.has-date > .date-label,
.date-card.has-date > .date-buttons {
    display: none;
}

/* Botones (Hoy, Mañana, Elegir) - Todos transparentes como el original */
.date-btn {
    background: transparent;
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: #232323;
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.date-btn:hover {
    border-color: #999999;
    background: rgba(0, 0, 0, 0.03);
}

/* Activo - mismo estilo que normal (sin diferencia visual) */
.date-btn.active {
    background: transparent;
    color: #232323;
    border-color: #c7c7c7;
}

.date-btn svg {
    width: 16px;
    height: 16px;
}

/* ========== ESTADO CON FECHA: Ida y Regreso ========== */
.date-selected-state {
    display: none;
    align-items: center;
    width: 100%;
    padding: 12px 0;
}

/* Mostrar estado con fecha cuando tiene .has-date */
.date-card.has-date .date-selected-state {
    display: flex;
}

.date-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.date-field-label {
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 2px;
    font-family: var(--font-body);
}

.date-value-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.departureDate,
.returnDate {
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #232323;
    padding: 0;
    flex: 1;
    cursor: pointer;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    outline: none;
    min-width: 0;
}

.returnDate {
    font-weight: 400;
}

.returnDate::placeholder {
    color: #999;
    font-weight: 400;
}

/* Separador vertical entre Ida y Regreso */
.date-separator {
    width: 1px;
    height: 50px;
    border-left: 1px dashed #E2E2E2;
    margin: 0 12px;
    flex-shrink: 0;
}

/* Botón limpiar fecha (X) */
.clean-date-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.clean-date-btn svg {
    width: 18px;
    height: 18px;
}

.clean-date-btn:hover svg circle {
    fill: #666;
}

/* Flecha dropdown regreso */
.dropdown-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================
   BOTÓN BUSCAR
   ============================================ */

.search-btn {
    width: 100%;
    margin: 15px auto 0;
    padding: 0 20px;
    background: #d22730;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    min-height: 55px;
    height: 55px;
}

.search-btn:hover {
    background: #bf0811;
}

.search-btn svg {
    width: 15px;
    height: 15px;
    fill: white;
}

/* Estilos antiguos - mantener por compatibilidad */
.field-group {
    margin-bottom: 15px;
    position: relative;
}

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.suggestions-list.active {
    display: block;
}

.suggestions-list li {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.suggestions-list li:hover {
    background-color: var(--gray-light);
}

.suggestions-list li:last-child {
    border-bottom: none;
}

.search-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel-wrapper {
    padding: 20px 15px;
    background-color: #232323;
    overflow: hidden;
}

.carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-slides {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(35, 35, 35, 0.18) 0%, rgb(35, 35, 35) 79%);
    border-radius: 15px;
}

.carousel-slide.active {
    opacity: 1;
}

/* Contenido del slide */
.slide-content {
    position: relative;
    z-index: 1;
    padding: 12px;
    text-align: right;
    max-width: 70%;
    margin-bottom: 30px;
    word-wrap: break-word;
}

/* Título del slide */
.slide-title {
    font-family: var(--font-body);
    font-size: 25px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: right;
    line-height: 1.2;
    margin: 0 0 8px 0;
    word-wrap: break-word;
}

/* Subtítulo del slide */
.slide-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* Flechas de navegación */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Indicadores/Dots */
.carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 10;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 10px;
}

.dot:last-child {
    margin-right: 0;
}

.dot.active,
.dot:hover {
    background-color: #FFFFFF;
}

/* ========================================
   1. BANNER IMPORTANTE - Fiebre Amarilla (Imagen clickeable)
   ======================================== */
.important-banner-section {
    padding: 15px;
    background-color: #f5f5f5;
}

.important-banner-link {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.important-banner-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: fill;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.important-banner-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Desktop */
@media (min-width: 768px) {
    .important-banner-section {
        padding: 20px;
    }

    .important-banner-link {
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .important-banner-link {
        max-width: 800px;
    }
}


/* ========================================
   DESTINATIONS - CORREGIDO FINAL
   ======================================== */
.destinations {
    padding: 40px 0;
    background-color: var(--gray-light);
    overflow: hidden;
}

/* Contenedor con max-width para consistencia */
.destinations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

/* Texto "• LO MEJOR DE COLOMBIA" */
.badge {
    display: inline-block;
    color: rgb(207, 40, 47);
    font-size: 18px;
    font-weight: 300;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 10px;
    font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
}

/* Título "Destinos más populares" */
.section-header h2 {
    color: var(--dark-text);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

/* Grid Mosaico de Destinos */
.destinations-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 0 15px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

/* Móvil: 2 columnas simples */
.mosaic-item {
    min-height: 200px;
}

.mosaic-item .destination-card,
.mosaic-item .promo-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.promo-image {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
}

/* Ocultar promos en móvil */
.mosaic-promo1,
.mosaic-promo2,
.mosaic-promo3 {
    display: none;
}

.destination-card {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.destination-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(0deg, rgba(2, 0, 36, 0.8) 0%, rgba(0, 0, 0, 0.19) 50%);
}

.destination-card:hover {
    transform: scale(1.02);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    z-index: 1;
    color: white;
}

.card-content h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--white);
    line-height: 1.2;
}

.card-content .from {
    font-size: 12px;
    font-weight: 400;
    opacity: 1;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content .price {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.card-content .price span {
    font-size: 12px;
    font-weight: 400;
}

/* Botón "Ver horarios" - transparente con borde blanco */
.btn-schedule {
    display: inline-block;
    padding: 4px 10px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-schedule:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   SERVICES - Contenedor azul único
   ======================================== */
.services-section {
    background: var(--white);
    padding: 40px 15px;
    text-align: center;
    overflow: hidden;
}

/* Contenedor con max-width para consistencia */
.services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-section h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--dark-text);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Contenedor azul único con bordes redondeados */
.services-container {
    background: linear-gradient(135deg, #003876 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-lg);
    padding: 20px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.service-item {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: scale(1.1);
}

.service-item img {
    max-width: 100%;
    height: auto;
    max-height: 45px;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news-section {
    padding: 50px 15px;
    background-color: var(--white);
    overflow: hidden;
}

/* Contenedor con max-width para consistencia */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title-red {
    color: var(--accent-red);
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    width: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 15px;
}

.news-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Source Sans Pro', sans-serif;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 600;
}

.news-link:hover {
    color: var(--primary-blue);
}

.news-link i {
    font-size: 12px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   FOOTER - Layout de dos columnas
   ======================================== */
.footer {
    background-color: var(--primary-blue);
    padding: 40px 15px 70px;
    color: var(--white);
    overflow: hidden;
}

/* Contenedor con max-width para consistencia */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Layout de dos columnas en móvil: apilado */
.footer-columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
    width: 100%;
}

.footer-left {
    text-align: center;
}

.footer-right {
    text-align: center;
}

.footer-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 28px;
    color: white;
    margin-bottom: 25px;
    font-weight: 500;
}

.phone-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.phone-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    text-decoration: none;
}

.phone-item i {
    font-size: 20px;
}

.phone-item div {
    text-align: left;
}

.phone-item .number {
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.phone-item .type {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.phone-item.whatsapp i {
    color: #25D366;
}

.footer-logo {
    margin: 20px 0;
}

.footer-logo img {
    height: 50px;
    margin: 0 auto;
}

.powered-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.reserhub-brand {
    font-weight: 600;
    color: white;
}

/* Nav vertical en footer derecho */
.footer-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-nav-vertical a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-nav-vertical a:hover {
    color: white;
    text-decoration: underline;
}

.footer-search-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.footer-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Redes sociales sin fondo */
.social-icons-simple {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons-simple a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons-simple a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Old styles for backwards compatibility */
.social-icons {
    display: none;
}

.footer-nav {
    display: none;
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.7;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* ========================================
   CONTACT BAR - CORREGIDO FINAL
   ======================================== */
.contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    color: white;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100vw;
}

.contact-bar i {
    font-size: 20px;
}

.contact-bar span {
    font-size: 14px;
    font-weight: 500;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.contact-modal.active {
    transform: translateY(0);
}

.contact-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.contact-modal-header h3 {
    font-size: 18px;
    color: var(--dark-text);
}

.close-modal {
    font-size: 20px;
    color: var(--gray-text);
}

.contact-modal-body {
    padding: 20px;
}

.contact-modal-body p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--gray-text);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
}

.contact-option i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-option:hover i {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ========================================
   RESPONSIVE - TABLET (500px+)
   ======================================== */
@media (min-width: 500px) {
    .search-form-container {
        padding: 20px;
    }

    .search-form-wrapper {
        padding: 0;
    }

    .destinations-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-card {
        height: 250px;
    }

    /* Mejora consistencia en noticias */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    /* Footer más consistente */
    .footer-columns {
        gap: 25px;
    }

    .footer-title {
        font-size: 32px;
    }
}

/* ========================================
   RESPONSIVE - TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
    .header {
        padding: 10px 30px;
    }

    .logo-container img {
        height: 45px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 32px;
    }

    .carousel-wrapper .carousel-slides {
        height: 350px;
    }

    .slide-title {
        font-size: 30px;
        line-height: 30px;
    }

    .slide-subtitle {
        font-size: 15px;
    }

    /* Destinos tablet - alineados a la izquierda */
    .section-header {
        text-align: left;
        padding-left: 20px;
    }

    /* Mosaico de destinos en tablet - 3 columnas para transición suave */
    .destinations-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
        gap: 2px;
    }

    .mosaic-promo1 {
        display: block;
    }

    .mosaic-promo2,
    .mosaic-promo3 {
        display: none;
    }

    .mosaic-item {
        min-height: 250px;
    }

    .mosaic-medellin {
        grid-column: span 1;
    }

    .destination-card {
        height: 100%;
        min-height: 250px;
        border-radius: var(--radius-sm);
    }

    /* Servicios en tablet */
    .services-container {
        flex-wrap: wrap;
        padding: 25px 30px;
        justify-content: center;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .phone-items {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    /* Footer en tablet - dos columnas */
    .footer-columns {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0 20px;
    }

    .footer-left {
        text-align: left;
        flex: 1;
    }

    .footer-right {
        text-align: right;
    }

    .phone-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .phone-item {
        justify-content: flex-start;
    }

    .footer-logo img {
        margin: 0;
    }

    .powered-section {
        justify-content: flex-start;
    }

    .footer-nav-vertical {
        align-items: flex-end;
    }

    .footer-submenu {
        bottom: auto;
        top: 100%;
        margin-bottom: 0;
        margin-top: 10px;
    }

    /* Contact bar en tablet */
    .contact-bar {
        max-width: 300px;
        right: 20px;
        left: auto;
        bottom: 20px;
        border-radius: 30px;
    }
}

/* ========================================
   RESPONSIVE - TABLET GRANDE (900px+)
   Transición suave entre tablet y desktop
   ======================================== */
@media (min-width: 900px) {
    /* Mosaico de destinos - 4 columnas antes de desktop */
    .destinations-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }

    .mosaic-promo1,
    .mosaic-promo2,
    .mosaic-promo3 {
        display: block;
    }

    .mosaic-medellin {
        grid-column: span 2;
    }

    /* Servicios sin wrap */
    .services-container {
        flex-wrap: nowrap;
    }

    /* Hero section - preparar para layout desktop */
    .hero-section {
        min-height: 500px;
    }

    .carousel-wrapper .carousel-slides {
        height: 400px;
    }

    .search-form-container {
        max-width: 450px;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .header {
        padding: 15px 60px;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
    }

    .logo-container img {
        height: 50px;
    }

    .hamburger {
        display: none;
    }

    /* Desktop Navigation - Visible en desktop */
    .desktop-nav {
        display: block;
        margin-left: auto;
    }

    .desktop-nav .menu-list {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 0;
        margin: 0;
    }

    .desktop-nav .menu-list > li {
        border-bottom: none;
        position: relative;
    }

    .desktop-nav .menu-list > li > a {
        color: var(--white);
        padding: 10px 15px;
        font-size: 14px;
        white-space: nowrap;
    }

    .desktop-nav .menu-list > li > a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

    .desktop-nav .menu-list > li > a i {
        margin-left: 5px;
    }

    .desktop-nav .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background-color: var(--white);
        border-radius: 5px;
        box-shadow: var(--shadow);
        padding: 10px 0;
        display: none;
    }

    .desktop-nav .has-submenu:hover > .submenu {
        display: block;
    }

    .desktop-nav .submenu li a {
        color: var(--dark-text);
        padding: 10px 20px;
    }

    .desktop-nav .submenu li a:hover {
        background-color: var(--gray-light);
    }

    .desktop-nav .submenu .has-submenu .submenu {
        left: 100%;
        top: 0;
    }

    .desktop-nav .login-item a {
        color: var(--white) !important;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

    .desktop-nav .search-item {
        display: flex;
        align-items: center;
    }

    .desktop-nav .search-icon-btn {
        color: var(--white);
        font-size: 16px;
        padding: 10px 15px;
    }

    .desktop-nav .search-icon-btn:hover {
        opacity: 0.7;
    }

    /* Sidebar menu oculto en desktop */
    .sidebar-menu {
        display: none;
    }

    .menu-overlay {
        display: none;
    }

    /* ========================================
       DESKTOP: Formulario SOBRE el carrusel
       ======================================== */

    /* Hero Section en desktop - posicionamiento relativo para el absoluto del form */
    .hero-section {
        position: relative;
        min-height: 600px;
        display: block; /* Quitar flexbox en desktop */
    }

    /* El carrusel ocupa todo el fondo */
    .carousel-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        padding: 0;
    }

    .carousel-wrapper .carousel {
        height: 100%;
        border-radius: 0;
        max-width: none;
    }

    .carousel-wrapper .carousel-slides {
        height: 100%;
    }

    .carousel-wrapper .carousel-slide {
        height: 100%;
        border-radius: 0;
    }

    .carousel-wrapper .carousel-slide::before {
        border-radius: 0;
    }

    /* El formulario está encima a la izquierda */
    .search-form-container {
        position: absolute;
        top: 50%;
        left: 120px;
        transform: translateY(-50%);
        z-index: 10;
        width: 460px;
        max-width: 460px;
        padding: 0;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 28px;
        line-height: 32px;
        text-align: center;
        margin-bottom: 18px;
    }

    .search-form {
        max-width: 460px;
    }

    .search-form-wrapper {
        max-width: 460px;
    }

    /* El wrapper del gradiente no necesita padding bottom en desktop */
    .blue-gradient-wrapper {
        padding-bottom: 0;
    }

    /* Texto del carrusel en desktop */
    .slide-title {
        font-size: 45px;
        line-height: 50px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-content {
        max-width: 50%;
        padding: 20px 50px 20px 20px;
        margin-bottom: 50px;
    }

    /* Mosaico de destinos en desktop */
    .destinations-mosaic {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin: 0 auto;
        gap: 3px;
    }

    .mosaic-promo1,
    .mosaic-promo2,
    .mosaic-promo3 {
        display: block;
    }

    .mosaic-item {
        min-height: 300px;
    }

    .mosaic-medellin {
        grid-column: span 2;
    }

    .destination-card {
        height: 100%;
        min-height: 300px;
        border-radius: var(--radius-md);
    }

    .card-content h3 {
        font-size: 24px;
    }

    .card-content .price {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 50px;
        line-height: 50px;
    }

    /* Servicios en desktop */
    .services-container {
        gap: 40px;
        padding: 30px 50px;
    }

    .service-item img {
        max-height: 55px;
    }

    /* Alinear "LO MEJOR DE COLOMBIA" a la izquierda en desktop */
    .section-header {
        text-align: left;
        padding-left: 40px;
    }

    .services-section h2,
    .section-title-red {
        font-size: 36px;
    }

    .service-item img {
        max-height: 60px;
    }

    .news-image {
        height: 200px;
    }

    .news-content h3 {
        font-size: 18px;
    }

    .footer-title {
        font-size: 38px;
    }

    .phone-item .number {
        font-size: 24px;
    }

    .footer-logo img {
        height: 60px;
    }

    .contact-bar {
        max-width: none;
        width: auto;
        left: auto;
        right: 20px;
        bottom: 20px;
        border-radius: 30px;
        padding: 15px 25px;
        white-space: nowrap;
    }

    .contact-modal {
        max-width: 350px;
        right: 20px;
        left: auto;
        bottom: 80px;
        border-radius: 20px;
    }

    /* Footer dos columnas en desktop */
    .footer-columns {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .footer-left {
        text-align: left;
        flex: 1;
    }

    .footer-right {
        text-align: right;
    }

    .phone-items {
        align-items: flex-start;
    }

    .phone-item {
        justify-content: flex-start;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-logo img {
        margin: 0;
    }

    .powered-section {
        justify-content: flex-start;
    }

    .footer-nav-vertical {
        align-items: flex-end;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP GRANDE (1400px+)
   ======================================== */
@media (min-width: 1400px) {
    .header {
        padding: 15px 80px;
    }

    .search-form-container {
        left: 150px;
    }

    .search-form-wrapper {
        max-width: 460px;
    }

    .slide-title {
        font-size: 55px;
        line-height: 60px;
    }

    .slide-content {
        padding-right: 100px;
    }

    .destinations {
        max-width: 1400px;
        margin: 0 auto;
    }
}

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

.search-container {
    animation: fadeIn 0.5s ease;
}

/* ========================================
   UTILITIES
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   MODAL SELECCIÓN DE ORIGEN - EXPRESO BRASILIA
   Réplica IDÉNTICA de expresobrasilia.com
   ============================================ */

/* Overlay del modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-overlay.active {
    display: block;
}

/* Modal principal */
.origin-modal {
    display: none;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-family: var(--font-body);
    z-index: 1001;
    flex-direction: column;
}

.origin-modal.active {
    display: flex;
}

/* Contenido del modal */
.modal-content {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

/* Header del modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #232323;
    margin: 0;
}

/* Botón cerrar (X) */
.modal-close {
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

/* Contenedor del input */
.input-container {
    display: flex;
    padding: 0 8px 0 0;
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px 0 8px 12px;
}

.input-label {
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 2px;
}

.input-row {
    display: flex;
    align-items: center;
}

.location-icon {
    width: 15px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.location-icon svg {
    width: 15px;
    height: 16px;
    fill: #DC291E;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #232323;
    background: transparent;
    height: 30px;
}

.search-input::placeholder {
    color: #999;
}

/* Botón de búsqueda (lupa) */
.origin-modal .search-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto 0;
    flex-shrink: 0;
}

.origin-modal .search-btn svg {
    width: 30px;
    height: 30px;
}

/* ============================================
   RECUADRO DE SUGERENCIAS - "Populares desde tu origen"
   ============================================ */

.recommended-routes {
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    padding: 15px;
    margin: 15px 0 0 0;
    background: rgba(255, 255, 255, 0.95);
}

.recommended-routes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.recommended-routes-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #232323;
}

.fire-icon {
    width: 25px;
    height: 25px;
}

.badge-recommended {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #D22730;
    border-radius: 7px;
    padding: 4px 8px;
}

.badge-recommended-text {
    font-size: 10px;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.5px;
}

.sparkle-icon {
    width: 17px;
    height: 12px;
}

.recommended-routes-list {
    display: flex;
    flex-direction: column;
}

.route-option-wrapper {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 8px;
}

.route-option-wrapper:hover {
    background: rgba(0, 0, 0, 0.05);
}

.route-option-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-option-icon svg {
    width: 18px;
    height: 18px;
    fill: #DC291E;
}

.route-option-route {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.route-city-name {
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    text-transform: capitalize;
}

.route-city-department {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    text-transform: capitalize;
}

/* Lista de ciudades */
.city-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    max-height: 500px;
    min-height: 200px;
    overflow-y: auto;
    flex: 0 1 500px;
}

.city-list::-webkit-scrollbar {
    width: 4px;
}

.city-list::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.city-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* Header de departamento */
.department-header {
    font-size: 13px;
    font-weight: 600;
    color: #232323;
    padding: 8px 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    list-style: none;
    background: #fff;
}

/* Item de ciudad - ESTADO NORMAL */
.city-item {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    list-style: none;
    transition: all 0.2s;
    background: transparent;
}

.city-icon {
    width: 15px;
    height: 16px;
    margin-right: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Ícono NORMAL - gris con opacidad */
.city-icon svg {
    width: 15px;
    height: 16px;
    fill: #999;
    fill-opacity: 0.5;
    transition: all 0.2s;
}

.city-name {
    font-size: 16px;
    font-weight: 500;
    color: #232323;
    line-height: 22px;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    text-transform: capitalize;
    transition: font-weight 0.2s;
}

/* Item de ciudad - ESTADO HOVER */
.city-item:hover,
.city-item.selected {
    background: rgba(237, 237, 237, 0.5);
}

/* Ícono HOVER - rojo sólido */
.city-item:hover .city-icon svg,
.city-item.selected .city-icon svg {
    fill: #DC291E;
    fill-opacity: 1;
}

/* Texto HOVER - más bold */
.city-item:hover .city-name,
.city-item.selected .city-name {
    font-weight: 600;
}

.city-item:active {
    background: rgba(237, 237, 237, 0.7);
}

.city-loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
    list-style: none;
}

/* ============================================
   CALENDARIO DE SELECCIÓN DE FECHA
   Réplica IDÉNTICA de expresobrasilia.com
   ============================================ */

.picker {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.picker__holder {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.picker__frame {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    overflow-y: auto;
}

.picker__box {
    padding: 0;
}

.picker__title {
    font-size: 20px;
    font-weight: 700;
    color: #232323;
    padding: 20px 15px 10px;
    text-align: center;
    font-family: var(--font-body);
}

.picker__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.picker__month-year {
    display: flex;
    gap: 5px;
    align-items: center;
}

.picker__month,
.picker__year {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    font-family: var(--font-body);
}

.picker__nav--prev,
.picker__nav--next {
    width: 36px;
    height: 36px;
    border: 2px solid #155BA1;
    border-radius: 6px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #155BA1;
    transition: all 0.2s;
}

.picker__nav--prev:hover,
.picker__nav--next:hover {
    background: rgba(21, 91, 161, 0.1);
}

.picker__nav--prev:disabled,
.picker__nav--next:disabled {
    border-color: #E2E2E2;
    color: #E2E2E2;
    cursor: not-allowed;
}

.picker__nav--prev:disabled:hover,
.picker__nav--next:disabled:hover {
    background: transparent;
}

.picker__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    padding: 0 10px;
}

.picker__weekday {
    font-size: 12px;
    font-weight: 600;
    color: #232323;
    text-transform: uppercase;
    padding: 10px 0;
    text-align: center;
    font-family: var(--font-body);
}

.picker__day {
    height: 42px;
    font-size: 14px;
    font-weight: 400;
    color: #232323;
    background: #FFFFFF;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.picker__day:hover:not(.picker__day--disabled):not(.picker__day--selected) {
    background: rgba(220, 41, 30, 0.1);
}

.picker__day--today {
    font-weight: 700;
    position: relative;
}

.picker__day--today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #DC291E;
    border-radius: 50%;
}

.picker__day--selected {
    color: #FFFFFF !important;
    background: #DC291E !important;
    font-weight: 600;
}

.picker__day--selected::after {
    display: none;
}

.picker__day--disabled {
    color: #E2E2E2;
    background: #FAFAFA;
    cursor: not-allowed;
}

.picker__day--outside {
    color: #CCCCCC;
}

.picker__footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 15px;
    gap: 10px;
}

.picker__button--today,
.picker__button--close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    font-family: var(--font-body);
}

.picker__button--today {
    color: #666;
    background: #F0F0F0;
    border: 1px solid #E2E2E2;
}

.picker__button--today:hover {
    background: #E5E5E5;
}

.picker__button--close {
    color: #232323;
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
}

.picker__button--close:hover {
    background: #F5F5F5;
}

/* Responsive - Desktop Calendar */
@media (min-width: 768px) {
    .picker__holder {
        align-items: center;
    }

    .picker__frame {
        border-radius: 20px;
        max-height: 80vh;
    }
}

/* Responsive - Desktop */
@media (min-width: 768px) {
    .origin-modal {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 500px;
        max-height: 80vh;
        border-radius: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .contact-bar,
    .contact-modal,
    .city-modal {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
