/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #8B8B8B;
    background-color: #ffffff;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #E6F3FF 0%, #F0F8FF 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(230, 243, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    color: #8B8B8B;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: #C0C0C0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #8B8B8B;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 243, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #8B8B8B;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E6F3FF 0%, #F0F8FF 50%, #F8FCFF 100%);
    color: #8B8B8B;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B8B8B, #C0C0C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: #8B8B8B;
}

/* Search Form */
.search-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(230, 243, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #C0C0C0, #E8E8E8, #8B8B8B, #C0C0C0);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.8;
}

.search-form h3 {
    color: #8B8B8B;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #8B8B8B;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group select,
.form-group input {
    padding: 12px 15px;
    border: 2px solid #E6F3FF;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #C0C0C0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.trip-type {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #E6F3FF;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #C0C0C0;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #42a5f5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-btn {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.3);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(192, 192, 192, 0.4);
}

.search-btn:active {
    transform: translateY(-1px);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #E6F3FF 100%);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    background: linear-gradient(135deg, #8B8B8B 0%, #C0C0C0 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #8B8B8B;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #8B8B8B;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Destinations Section */
.destinations {
    padding: 80px 0;
    background: white;
}

.destinations h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B8B8B;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    color: #8B8B8B;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.destination-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-10px);
    border-color: #C0C0C0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-icon {
    background: linear-gradient(135deg, #C0C0C0 0%, #C0C0C0 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.destination-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B8B8B;
    margin-bottom: 1rem;
}

.destination-card p {
    color: #8B8B8B;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.region {
    display: inline-block;
    background: linear-gradient(135deg, #C0C0C0 0%, #C0C0C0 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.price {
    background: linear-gradient(135deg, #8B8B8B 0%, #C0C0C0 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

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

.destination-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.destination-card:hover {
    transform: translateY(-10px);
    border-color: #C0C0C0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-icon {
    background: linear-gradient(135deg, #C0C0C0 0%, #C0C0C0 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.destination-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B8B8B;
    margin-bottom: 1rem;
}

.destination-card p {
    color: #8B8B8B;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.price {
    background: linear-gradient(135deg, #8B8B8B 0%, #C0C0C0 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #E6F3FF 100%);
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B8B8B;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #C0C0C0 0%, #C0C0C0 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B8B8B;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #8B8B8B;
    line-height: 1.6;
}

/* Search Results */
.search-results {
    padding: 60px 0;
    background: white;
}

.search-results h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #8B8B8B;
    margin-bottom: 2rem;
}

.no-results {
    text-align: center;
    color: #8B8B8B;
    font-style: italic;
    padding: 3rem;
    background: #ffffff;
    border-radius: 15px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8B8B8B 0%, #8B8B8B 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: #C0C0C0;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #C0C0C0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #E6F3FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #C0C0C0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    background: linear-gradient(135deg, #C0C0C0 0%, #C0C0C0 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #E6F3FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #C0C0C0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .search-form {
        padding: 1.5rem;
        margin: 0 15px;
        border-radius: 15px;
        width: calc(100% - 30px); /* Ancho total menos márgenes */
        max-width: 100%; /* NO se salga de la pantalla */
        box-sizing: border-box;
        overflow: hidden; /* Prevenir overflow horizontal */
    }
    
    .search-form h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%; /* Ancho completo controlado */
        max-width: 100%; /* NO se salga de la pantalla */
        overflow: hidden; /* Prevenir overflow horizontal */
    }
    
    .form-group {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group select,
    .form-group input,
    .form-group input[type="date"],
    .form-group input[type="number"] {
        padding: 10px 12px;
        font-size: 0.95rem;
        border-radius: 8px;
        height: 44px; /* Altura fija uniforme */
        min-height: 44px; /* Mejor para touch */
        box-sizing: border-box; /* Asegurar que padding no afecte altura */
        line-height: 1.5; /* Altura de línea uniforme */
        width: 100%; /* Ancho completo del contenedor */
        max-width: 100%; /* NO se salga de la pantalla */
        overflow: hidden; /* Ocultar cualquier overflow */
        text-overflow: ellipsis; /* Puntos suspensivos si hay overflow */
    }
    
    /* CORRECCIÓN DEFINITIVA PARA SELECT EN MÓVIL */
    .form-group select {
        /* Anular appearance nativo completamente */
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        -ms-appearance: none !important;
        -o-appearance: none !important;
        
        /* Quitar imagen de flecha nativa */
        background-image: none !important;
        background-color: white !important;
        
        /* Asegurar tamaño exacto */
        height: 44px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        border: 2px solid #e3f2fd !important;
        
        /* Anular estilos nativos de iOS */
        -webkit-tap-highlight-color: transparent;
        -webkit-border-radius: 8px;
        -webkit-padding-before: 0px;
        -webkit-padding-after: 0px;
        -webkit-padding-start: 12px;
        -webkit-padding-end: 12px;
    }
    
    /* Ajustar botones radio */
    .radio-label {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .radio-custom {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    
    .radio-label input[type="radio"]:checked + .radio-custom::after {
        width: 8px;
        height: 8px;
    }
    
    /* Botón de búsqueda */
    .search-btn {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .trip-type {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .stats-container,
    .destinations-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Mejorar stats en móvil */
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Destinos */
    .destinations h2 {
        font-size: 2rem;
    }
    
    .destination-card {
        padding: 2rem;
    }
    
    .destination-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .destination-card h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .search-form {
        padding: 1.2rem;
        margin: 0 10px;
        width: calc(100% - 20px); /* Ancho total menos márgenes */
        max-width: 100%; /* NO se salga de la pantalla */
        box-sizing: border-box;
        overflow: hidden; /* Prevenir overflow horizontal */
    }
    
    .search-form h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .form-group select,
    .form-group input,
    .form-group input[type="date"],
    .form-group input[type="number"] {
        padding: 8px 10px;
        font-size: 0.9rem;
        height: 42px; /* Altura fija uniforme */
        min-height: 42px;
        box-sizing: border-box;
        line-height: 1.5; /* Altura de línea uniforme */
        width: 100%; /* Ancho completo del contenedor */
        max-width: 100%; /* NO se salga de la pantalla */
        overflow: hidden; /* Ocultar cualquier overflow */
        text-overflow: ellipsis; /* Puntos suspensivos si hay overflow */
    }
    
    /* CORRECCIÓN DEFINITIVA PARA SELECT EN MÓVIL */
    .form-group select {
        /* Anular appearance nativo completamente */
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        -ms-appearance: none !important;
        -o-appearance: none !important;
        
        /* Quitar imagen de flecha nativa */
        background-image: none !important;
        background-color: white !important;
        
        /* Asegurar tamaño exacto */
        height: 42px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        border: 2px solid #e3f2fd !important;
        
        /* Anular estilos nativos de iOS */
        -webkit-tap-highlight-color: transparent;
        -webkit-border-radius: 8px;
        -webkit-padding-before: 0px;
        -webkit-padding-after: 0px;
        -webkit-padding-start: 10px;
        -webkit-padding-end: 10px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .search-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .destinations {
        padding: 60px 0;
    }
    
    .destinations h2 {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .destination-card {
        padding: 1.5rem;
    }
    
    .destination-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .destination-card h3 {
        font-size: 1.2rem;
    }
    
    .destination-card p {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
    
    .why-choose {
        padding: 60px 0;
    }
    
    .why-choose h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .destinations-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-container h1 {
    animation-delay: 0.1s;
}

.hero-container p {
    animation-delay: 0.2s;
}

.search-form {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

/* Mejoras adicionales para móviles muy pequeños */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .search-form {
        padding: 1rem;
        margin: 0 5px;
        width: calc(100% - 10px); /* Ancho total menos márgenes */
        max-width: 100%; /* NO se salga de la pantalla */
        box-sizing: border-box;
        overflow: hidden; /* Prevenir overflow horizontal */
    }
    
    .form-group select,
    .form-group input,
    .form-group input[type="date"],
    .form-group input[type="number"] {
        padding: 7px 8px;
        font-size: 0.85rem;
        height: 40px; /* Altura fija uniforme */
        min-height: 40px;
        box-sizing: border-box;
        line-height: 1.5; /* Altura de línea uniforme */
        width: 100%; /* Ancho completo del contenedor */
        max-width: 100%; /* NO se salga de la pantalla */
        overflow: hidden; /* Ocultar cualquier overflow */
        text-overflow: ellipsis; /* Puntos suspensivos si hay overflow */
    }
    
    /* CORRECCIÓN DEFINITIVA PARA SELECT EN MÓVIL */
    .form-group select {
        /* Anular appearance nativo completamente */
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        -ms-appearance: none !important;
        -o-appearance: none !important;
        
        /* Quitar imagen de flecha nativa */
        background-image: none !important;
        background-color: white !important;
        
        /* Asegurar tamaño exacto */
        height: 40px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        border: 2px solid #e3f2fd !important;
        
        /* Anular estilos nativos de iOS */
        -webkit-tap-highlight-color: transparent;
        -webkit-border-radius: 8px;
        -webkit-padding-before: 0px;
        -webkit-padding-after: 0px;
        -webkit-padding-start: 8px;
        -webkit-padding-end: 8px;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .search-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .destination-card,
    .feature-card {
        padding: 1.2rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
}

/* Mejoras para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-form {
        max-width: 800px;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Botón de respaldo para redirección directa */
.backup-search-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.backup-search-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.backup-search-btn:active {
    transform: translateY(-1px);
}

/* Responsive para botón de respaldo */
@media (max-width: 768px) {
    .backup-search-btn {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .backup-search-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
}
}