* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    color: #1e293b;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-selector select {
    appearance: none;
    background: transparent;
    border: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1.5rem 0.5rem 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.language-selector::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.language-selector.es::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2"><rect width="3" height="2" fill="%23c41e3a"/><rect width="3" height="0.67" y="0.67" fill="%23ffc400"/></svg>');
}

.language-selector.en::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="30" fill="%23012169"/><g stroke="%23fff" stroke-width="6"><path d="M0,0 L60,30 M60,0 L0,30"/></g><g stroke="%23c8102e" stroke-width="4"><path d="M0,0 L60,30 M60,0 L0,30"/></g><g stroke="%23fff" stroke-width="10"><path d="M30,0 L30,30 M0,15 L60,15"/></g><g stroke="%23c8102e" stroke-width="6"><path d="M30,0 L30,30 M0,15 L60,15"/></g></svg>');
}

.language-selector select:hover {
    background: rgba(0, 180, 216, 0.05);
}

.main-content {
    margin-top: 0;
}

.hero-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7) 0%, rgba(29, 78, 216, 0.8) 100%), 
                url('https://static.mywebsites360.com/f0b43fba14184304ba851cc242089bb8/i/afaee3c530444d2488e242baba53c62f/1/4SoifmQp45JMgBnHp7ed2/AdobeStock_281229392.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.15);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
}

.booking-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    margin-left: auto;
    border: 1px solid #e5e7eb;
}

.card-header {
    margin-bottom: 2rem;
    text-align: center;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.step-indicator {
    display: none;
}

.locations-container {
    position: relative;
    margin-bottom: 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.location-input {
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid #d1d5db;
    padding: 0.5rem 0;
}

.location-input:last-child {
    border-bottom: none;
}

.location-field {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    background: white;
    color: #374151;
    transition: background-color 0.2s;
}

.location-field::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.location-field:focus {
    outline: none;
    background: #f9fafb;
}

.location-input i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 0.9rem;
}

.origin-dot {
    color: #6b7280;
}

.destination-dot {
    color: #374151;
}

.swap-locations {
    display: none;
}

.datetime-container {
    margin-bottom: 1.5rem;
}

.datetime-group {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.datetime-group:last-child {
    margin-bottom: 0;
}

.datetime-group.return-group {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.datetime-group.return-group.show {
    opacity: 1;
    transform: translateY(0);
}

.datetime-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.datetime-inputs {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0.75rem;
}

.date-input,
.time-input {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 400;
    background: white;
    transition: border-color 0.2s;
    color: #374151;
    font-family: 'Inter', sans-serif;
    position: relative;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.date-input:focus,
.time-input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Estilos modernos para date input */
.date-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z' clip-rule='evenodd'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

/* Estilos modernos para time input */
.time-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z' clip-rule='evenodd'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

/* Para navegadores WebKit (Safari, Chrome) */
.date-input::-webkit-calendar-picker-indicator,
.time-input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 12px;
    color: transparent;
    background: transparent;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* Placeholder personalizado para date input */
.date-input[type="date"]:not(:valid):before {
    content: attr(placeholder);
    color: #9ca3af;
    margin-right: 0.5em;
}

.date-input:not(:valid):before {
    content: "Seleccionar fecha";
    color: #9ca3af;
}

.time-input:not(:valid):before {
    content: "Seleccionar hora";
    color: #9ca3af;
}

/* Estilos para cuando tiene valor */
.date-input:valid,
.time-input:valid {
    color: #374151;
    font-weight: 500;
}

/* Estilos mejorados para móvil */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        height: 55px;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .language-selector select {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-section {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .booking-card {
        max-width: 100%;
        margin: 0;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .locations-container,
    .datetime-container,
    .passengers-container {
        padding: 0.8rem;
    }
    
    .datetime-inputs {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .date-input,
    .time-input {
        padding: 1rem 0.8rem;
        font-size: 16px; /* Previene zoom en iOS */
        min-height: 48px; /* Mejor área de toque */
        background-size: 16px;
        padding-right: 36px;
    }
    
    .date-input::-webkit-calendar-picker-indicator,
    .time-input::-webkit-calendar-picker-indicator {
        width: 16px;
        height: 16px;
        right: 10px;
    }
    
    /* Mejorar la visualización en dispositivos móviles */
    .datetime-inputs {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .datetime-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}

.date-input:focus,
.time-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.date-input:invalid,
.time-input:invalid {
    color: #9ca3af;
}

/* Animación para cuando se selecciona */
.date-input:valid,
.time-input:valid {
    animation: inputFilled 0.3s ease;
}

@keyframes inputFilled {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.trip-options {
    margin-bottom: 1.5rem;
}

.round-trip-toggle {
    width: 100%;
    background: transparent;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-weight: 400;
    font-size: 0.9rem;
}

.round-trip-toggle:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.round-trip-toggle.active {
    display: none;
    border-color: #ef4444;
    color: #ef4444;
    border-style: solid;
    background: #fef2f2;
}

.return-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.remove-return {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.remove-return:hover {
    background: #fecaca;
    border-color: #dc2626;
    transform: scale(1.1);
}

.passengers-container {
    margin-bottom: 2rem;
}

.passenger-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.passenger-group:last-child {
    margin-bottom: 0;
}

.passenger-info {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.passenger-info i {
    display: none;
}

.counter {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.counter-btn {
    background: transparent;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #6b7280;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
}

.counter-btn:hover {
    background: #f3f4f6;
}

.counter-input {
    border: none;
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    width: 50px;
    background: transparent;
    color: #374151;
}

.continue-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

.continue-btn i {
    display: none;
}

.features-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    margin-top: 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Estilos del Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 3rem 0 0;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 0 2rem 2rem;
}

/* Fix para inputs de fecha y hora */
.date-input, .time-input {
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.date-input:focus, .time-input:focus {
    border-color: #00B4D8 !important;
}

.datetime-inputs {
    width: 100% !important;
    overflow: hidden !important;
}
    .datetime-inputs {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .datetime-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}
    }
}
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .datetime-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}
