/* =============================================================
   Xplore Travels - style.css
   Brand: Orange (#FF7A00) + White - Modern travel aggregator UI
   ============================================================= */

:root {
    --orange: #FF7A00;
    --orange-dark: #E66B00;
    --orange-light: #FFE7D1;
    --orange-50: #FFF4EA;
    --white: #FFFFFF;
    --ink: #1A1A1A;
    --ink-2: #2D2D2D;
    --muted: #6B7280;
    --muted-2: #9CA3AF;
    --bg: #F7F7F7;
    --line: #E7E7E9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 6px 24px rgba(20,20,20,0.06);
    --shadow-lg: 0 18px 50px rgba(20,20,20,0.10);
    --radius: 14px;
    --radius-lg: 22px;
    --radius-sm: 10px;
    --container: 1240px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 0.7em; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

.muted { color: var(--muted); font-size: 0.95rem; }
.center { text-align: center; }
.accent { color: var(--orange); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(255,122,0,0.35);
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255,122,0,0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
}
.btn-ghost:hover { background: var(--orange-50); color: var(--orange); }

.btn-outline {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}
.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-50);
}

.btn-block { width: 100%; }

.btn-search { padding: 14px 28px; font-size: 1rem; }

/* ============ Navigation ============ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: all var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--ink);
}
.logo-mark {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--orange), #FFA94D);
    color: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(255,122,0,0.35);
}
.logo-text span { color: var(--orange); }
.logo-light { color: var(--white); }
.logo-light .logo-text { color: var(--white); }
.logo-light .logo-text span { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 500;
    color: var(--ink-2);
    transition: all var(--transition);
}
.nav-link:hover {
    background: var(--orange-50);
    color: var(--orange);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 120px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,122,0,0.78) 0%, rgba(230,107,0,0.55) 50%, rgba(26,26,26,0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.hero-title { color: var(--white); margin-bottom: 14px; }
.hero-title .accent { color: #FFD9B0; }
.hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 36px;
}

/* ----- Search Card ----- */
.search-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.6);
}

.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }

.tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: inherit;
}
.tab:hover { color: var(--orange); }
.tab.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}
.tab i { font-size: 1rem; }

.search-form {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.9fr 0.9fr auto;
    gap: 10px;
    align-items: end;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 10px 14px;
    border: 1px solid transparent;
    transition: all var(--transition);
}
.field:focus-within {
    background: var(--white);
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255,122,0,0.12);
}
.field label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.field label i { color: var(--orange); margin-right: 4px; }
.field input, .field select {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--ink);
    padding: 2px 0;
    width: 100%;
}
.field input::placeholder { color: var(--muted-2); }

.btn-search { height: 56px; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}
.hero-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
}
.hero-stats strong {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #FFD9B0;
}
.hero-stats span { font-size: 0.85rem; opacity: 0.85; }

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg); }
.section-head {
    margin-bottom: 40px;
    text-align: center;
}
.section-head h2 { margin-bottom: 8px; }

/* ============ Destinations ============ */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.dest-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
}
.dest-card .info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px;
    color: var(--white);
}
.dest-card .info h3 { color: var(--white); margin-bottom: 2px; }
.dest-card .info span { font-size: 0.85rem; opacity: 0.9; }
.dest-card .badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--orange);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

/* ============ Card Grids (Hotels/Tours/Packages/Events/Cars) ============ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    border: 1px solid var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }

.card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.06); }

.card-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255,122,0,0.4);
}

.card-fav {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: inline-flex;
    align-items: center; justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--muted);
    transition: all var(--transition);
}
.card-fav:hover, .card-fav.active { color: var(--orange); transform: scale(1.1); }

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.card-location { color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; }
.card-location i { color: var(--orange); margin-right: 4px; }

.card-rating {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.stars { color: #F5A623; font-size: 0.9rem; letter-spacing: 1px; }
.score-pill {
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
}
.review-count { color: var(--muted); font-size: 0.85rem; }

.amenities {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 14px;
}
.amenity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--orange-50);
    color: var(--orange-dark);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.price-block .label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-block .price { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.price-block .price small { font-size: 0.7rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.price-block .old-price { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; margin-right: 6px; }

.btn-deal {
    background: var(--orange);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-deal:hover {
    background: var(--orange-dark);
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(255,122,0,0.4);
}

/* ============ Flights ============ */
.flights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.flight-card {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr auto;
    align-items: center;
    gap: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 28px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.flight-card:hover { box-shadow: var(--shadow-lg); border-color: var(--orange-light); transform: translateY(-2px); }

.airline {
    display: flex;
    align-items: center;
    gap: 12px;
}
.airline-logo {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--orange-50);
    color: var(--orange);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.airline-info strong { display: block; font-size: 0.98rem; font-weight: 700; }
.airline-info span { color: var(--muted); font-size: 0.8rem; }

.flight-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}
.route-end .time { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; }
.route-end .city { color: var(--muted); font-size: 0.85rem; }
.route-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--muted);
    font-size: 0.8rem;
}
.route-bar {
    width: 100%;
    height: 2px;
    background: var(--line);
    position: relative;
    margin: 8px 0;
}
.route-bar::after {
    content: '';
    position: absolute;
    right: -4px; top: -3px;
    width: 8px; height: 8px;
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    transform: rotate(45deg);
}
.route-bar i {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    color: var(--orange);
    padding: 0 6px;
    font-size: 0.85rem;
}
.stops { color: var(--muted); font-size: 0.78rem; }

.flight-price { text-align: right; }
.flight-price .price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
}
.flight-price small { display: block; color: var(--muted); font-size: 0.75rem; }

/* ============ Results Section (Search) ============ */
.results-section { padding-top: 60px; padding-bottom: 90px; background: var(--bg); }
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}
.results-header h2 { margin-bottom: 4px; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap label { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.sort-wrap select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}
.sort-wrap select:focus { border-color: var(--orange); }

.results-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: flex-start;
}

.filters {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
    border: 1px solid var(--line);
}
.filters h3 { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--orange-50); }
.filter-group { margin-bottom: 22px; }
.filter-group h4 { font-size: 0.88rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--ink-2);
    cursor: pointer;
}
.filter-group label:hover { color: var(--orange); }
.filter-group input[type="checkbox"] {
    accent-color: var(--orange);
    width: 16px; height: 16px;
    cursor: pointer;
}
.filter-group select {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-family: inherit;
    outline: none;
}
.filter-group select:focus { border-color: var(--orange); }
.price-range { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--orange-dark); }
.filter-group input[type="range"] {
    width: 100%;
    accent-color: var(--orange);
}

.results-list { display: flex; flex-direction: column; gap: 18px; }

.result-card {
    display: grid;
    grid-template-columns: 260px 1fr auto;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: all var(--transition);
}
.result-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--orange-light); }
.result-img { height: 100%; min-height: 220px; overflow: hidden; position: relative; }
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.result-body h3 { margin: 0; font-size: 1.15rem; }
.result-body .meta { color: var(--muted); font-size: 0.88rem; }
.result-side { padding: 20px 22px; border-left: 1px dashed var(--line); display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 12px; min-width: 200px; }
.result-side .rating-block { display: flex; align-items: center; gap: 8px; }
.result-side .price-block { text-align: right; }

.no-results {
    text-align: center;
    padding: 50px 20px;
    color: var(--muted);
    background: var(--white);
    border-radius: var(--radius);
    border: 1px dashed var(--line);
}
.no-results i { font-size: 3rem; color: var(--orange); margin-bottom: 14px; }

/* ============ Why Choose ============ */
.section-why { background: linear-gradient(180deg, var(--white) 0%, var(--orange-50) 100%); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--line);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-light);
}
.why-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange), #FFA94D);
    color: var(--white);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 24px rgba(255,122,0,0.35);
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); margin: 0; }

/* ============ CTA Band ============ */
.cta-band {
    background: linear-gradient(135deg, var(--orange) 0%, #FF9A3C 100%);
    color: var(--white);
    padding: 60px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,0.92); margin: 0; }
.cta-form { display: flex; gap: 8px; background: var(--white); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); min-width: 380px; }
.cta-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-family: inherit;
    background: transparent;
}
.cta-form .btn { padding: 12px 24px; }

/* ============ Footer ============ */
.footer {
    background: #0F0F10;
    color: #C7C8CA;
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer h4 {
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.footer ul li { margin-bottom: 10px; }
.footer a { color: #C7C8CA; transition: color var(--transition); font-size: 0.92rem; }
.footer a:hover { color: var(--orange); }
.footer-tag { color: var(--orange); font-weight: 600; margin: 8px 0 14px; }
.footer-about { color: #9CA3AF; font-size: 0.9rem; line-height: 1.6; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center; justify-content: center;
    transition: all var(--transition);
    color: var(--white);
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 0.85rem;
    color: #9CA3AF;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ============ Modals ============ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; animation: fadeIn 0.25s ease; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,15,16,0.65);
    backdrop-filter: blur(4px);
}
.modal-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 36px 32px 30px;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}
.modal-card h2 { margin-bottom: 4px; font-size: 1.5rem; }
.modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: none;
    cursor: pointer;
    color: var(--ink-2);
    transition: all var(--transition);
}
.modal-close:hover { background: var(--orange); color: var(--white); transform: rotate(90deg); }

.modal-card form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.modal-card form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-2);
}
.modal-card form input[type="email"],
.modal-card form input[type="text"],
.modal-card form input[type="password"] {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition);
    background: var(--bg);
}
.modal-card form input:focus { background: var(--white); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,0,0.12); }

.row-between { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.checkbox-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); }
.link { color: var(--orange); font-weight: 600; }
.link:hover { text-decoration: underline; }

.divider {
    margin: 20px 0 16px;
    text-align: center;
    position: relative;
    color: var(--muted);
    font-size: 0.85rem;
}
.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: var(--line);
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.social-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.social-auth .btn { padding: 11px 14px; font-size: 0.9rem; }
.social-auth .fa-google { color: #DB4437; }
.social-auth .fa-facebook-f { color: #1877F2; }

/* ============ Toast ============ */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.92rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast i { margin-right: 6px; color: var(--orange); }

/* ============ Animations ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.fade-in { animation: fadeIn 0.4s ease; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .destinations-grid { grid-template-columns: repeat(3, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .search-form { grid-template-columns: 1fr 1fr 1fr; }
    .btn-search { grid-column: span 3; height: 50px; }
    .results-grid { grid-template-columns: 1fr; }
    .filters { position: relative; top: 0; }
}

@media (max-width: 880px) {
    .nav-links {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 18px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        align-items: stretch;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-link { padding: 12px 16px; border-radius: 10px; }
    .hamburger { display: inline-flex; }

    .hero { min-height: 640px; padding: 60px 0 100px; }
    .hero-stats { gap: 28px; margin-top: 40px; }
    .hero-stats strong { font-size: 1.5rem; }

    .destinations-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .flight-card { grid-template-columns: 1fr 1fr; gap: 16px; }
    .flight-route { grid-column: 1 / -1; }
    .flight-price { text-align: left; }

    .result-card { grid-template-columns: 1fr; }
    .result-img { min-height: 200px; }
    .result-side { border-left: none; border-top: 1px dashed var(--line); align-items: flex-start; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-form { width: 100%; min-width: 0; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .section { padding: 60px 0; }
    .destinations-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-form { grid-template-columns: 1fr 1fr; }
    .btn-search { grid-column: span 2; }
    .nav-actions .btn-ghost { display: none; }
    .hero-stats { gap: 18px; }
    .modal-card { padding: 26px 20px; }
}
