:root {
    --primary: #0f172a;
    --brand-blue: #1e3a8a;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --success: #059669;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --white: #ffffff;
    --gray-border: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
}

/* Header Superior */
.main-header {
    background: var(--white);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    text-transform: lowercase;
}

.logo span {
    color: #2563eb;
}

.support-contact {
    font-size: 13px;
    color: #475569;
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    background: transparent;
    border: 1.5px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background: var(--accent-blue);
    color: var(--white);
}

/* Sub Navegación */
.sub-nav {
    background: var(--white);
    padding: 0 5%;
    border-bottom: 1px solid #e2e8f0;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-item {
    padding: 12px 0;
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.nav-item.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

/* Hero y Buscador Principal */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 40px 5% 70px 5%;
    display: flex;
    justify-content: center;
}

.search-card {
    background: var(--white);
    width: 100%;
    max-width: 1100px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
}

.search-top-tabs {
    margin-bottom: 15px;
}

.highlight-badge {
    background: #eff6ff;
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    position: relative;
}

.input-group {
    position: relative;
    background: #f8fafc;
    border: 1.5px solid var(--gray-border);
    border-radius: 8px;
    padding: 8px 12px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.input-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.input-with-icon input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    outline: none;
}

.swap-btn-container {
    display: flex;
    justify-content: center;
}

.btn-swap {
    background: var(--white);
    border: 1px solid var(--gray-border);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--accent-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.suggestions-list {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 180px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.suggestion-item:hover {
    background: #f8fafc;
    color: var(--accent-blue);
    font-weight: 600;
}

.passenger-dropdown {
    position: absolute;
    top: 105%;
    right: 0;
    width: 250px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 100;
}

.passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-controls button {
    background: #e2e8f0;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.btn-apply-passengers {
    width: 100%;
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.search-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.flight-type-selector {
    display: flex;
    gap: 20px;
    align-items: center;
}

.flight-type-selector label {
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.btn-main-search {
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-main-search:hover {
    background: var(--accent-hover);
}

/* Banner de Promoción */
.promo-banner {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?q=80&w=1400');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    margin: 30px auto;
    max-width: 1200px;
    border-radius: 16px;
}

.promo-tag {
    background: var(--accent-blue);
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 10px;
}

.promo-banner h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.btn-promo {
    background: #7c3aed;
    color: var(--white);
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 30px;
    margin-top: 15px;
    cursor: pointer;
}

.promo-legal {
    display: block;
    font-size: 11px;
    color: #cbd5e1;
    margin-top: 15px;
}

.container-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
}

.cards-triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dest-mini-card {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dest-mini-title {
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.benefits-bar {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card-box {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.benefit-card-box h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.benefit-card-box p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.payment-icons {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    display: flex;
    gap: 10px;
}

.section-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.section-subheading {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.vacations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vacation-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.vacation-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.vacation-info {
    padding: 15px;
}

.vacation-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.vacation-info p {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.luggage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.luggage-card {
    height: 220px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bg-custom-promo {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: var(--white);
}

.bg-custom-promo h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.overlay-text {
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 8px;
}

.dest-name-tag {
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.faq-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.about-text-box {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.about-text-box h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.about-text-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.footer-master {
    background: var(--primary);
    color: #94a3b8;
    padding: 50px 5% 20px 5%;
    margin-top: 60px;
}

.footer-columns {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.footer-col ul li {
    font-size: 12px;
    margin-bottom: 8px;
    cursor: pointer;
}

.footer-col ul li:hover {
    color: var(--white);
}

.footer-bottom-bar {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    font-size: 11px;
}

.brand-credits {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--white);
}

.legal-notice {
    line-height: 1.5;
    color: #64748b;
}

@media (max-width: 900px) {
    .search-grid, .cards-triple-grid, .benefits-bar, .vacations-grid, .luggage-grid, .footer-columns, .faq-grid {
        grid-template-columns: 1fr;
    }
}