﻿/* =========================================================
   TicketOCheap â€” Homepage (Light engine-first) stylesheet
   Scoped under body.homepage so other pages are unaffected.
   ========================================================= */

body.homepage {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.homepage h1, body.homepage h2, body.homepage h3, body.homepage h4, body.homepage h5 {
    font-family: "Inter", "Outfit", sans-serif;
    letter-spacing: -0.02em;
}

body.homepage a { text-decoration: none; }
body.homepage img { max-width: 100%; }
body.homepage button { font-family: "Inter", sans-serif; }

.homepage .hp-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.homepage [id] { scroll-margin-top: 96px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].reveal-visible { opacity: 1; transform: translateY(0); }

/* ---------- Shared section heading ---------- */
.hp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
    background: rgba(43, 111, 243, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
}

.hp-kicker::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.hp-h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 14px;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.hp-lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 34px;
}

.hp-section-head { text-align: center; }
.hp-section-head .hp-h2 { margin-bottom: 12px; }
.hp-section-head .hp-lead { margin-left: auto; margin-right: auto; }

/* =========================================================
   HERO â€” light, engine-first. Search on top, content below.
   ========================================================= */
.hp-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 24px 92px;
    background: var(--bg);
    overflow: hidden;
}

.hp-hero-band {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: clamp(420px, 56vh, 640px);
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

.hp-hero-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.92) 0%, rgba(247, 250, 252, 0.5) 40%, rgba(247, 250, 252, 0) 62%);
}

.hp-hero-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0) 52%, var(--bg) 100%);
}

/* ---------- Search error banner (server-side validation) ---------- */
.hp-search-error {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 880px;
    margin: 4px auto 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font: 500 14px/1.4 "Inter", sans-serif;
}

.hp-search-error i { color: #dc2626; font-size: 16px; }

.hp-search-error button {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #b91c1c;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

/* ---------- Search engine (first) ---------- */
.hp-hero-search {
    position: relative;
    z-index: 40;
    width: 100%;
    max-width: 1240px;
    margin-top: 14px;
}

.hp-hero-search-card {
    position: relative;
    overflow: visible;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 32px 70px -34px rgba(11, 31, 63, 0.4);
    padding: 18px;
    border: 1px solid #eaf0f7;
    animation: hp-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hp-rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero content (below search) ---------- */
.hp-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 840px;
    margin: 90px auto 0;
    width: 100%;
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid #e6edf5;
    color: var(--navy);
    font-weight: 500;
    font-size: 12.5px;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 26px -18px rgba(11, 31, 63, 0.35);
    animation: hp-fade-up 0.8s ease both;
}

.hp-hero-badge .fa-bolt { color: var(--gold); }

.hp-hero h1 {
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 22px 0 16px;
    color: var(--navy);
    animation: hp-fade-up 0.8s 0.1s ease both;
}

.hp-hero p.hp-sub {
    font-size: clamp(15.5px, 1.3vw, 18px);
    max-width: 620px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 auto;
    animation: hp-fade-up 0.8s 0.18s ease both;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
    animation: hp-fade-up 0.8s 0.26s ease both;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.hp-btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(255, 198, 41, 0.75); }
.hp-btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(255, 198, 41, 0.85); }
.hp-btn--ghost { background: #fff; color: var(--navy); border: 1.5px solid #dfe8f2; }
.hp-btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); }

.hp-hero-trust {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    animation: hp-fade-up 0.8s 0.34s ease both;
}

.hp-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
}

.hp-hero-trust li i {
    width: 27px; height: 27px;
    border-radius: 50%;
    background: rgba(43, 111, 243, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--blue);
}

@keyframes hp-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   FLIGHT-SEARCH WIDGET (homepage hero) - the widget's own
   stylesheet (img/newsearchweiget.css) owns all widget
   styling; this block only adapts it to the hero card.
   ========================================================= */
.hp-hero-search-card .Search_widget_cls {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hp-hero-search-card .search_main_div { padding: 0; }

.hp-hero-search-card .search-title { display: none !important; }

.hp-hero-search-card .passenger_and_triptype::after {
    content: "Search 700+ airlines in seconds";
    font: 500 12.5px/1 "Inter", sans-serif;
    color: #8498b3;
    letter-spacing: 0.2px;
    white-space: nowrap;
    margin-left: 12px;
}

.hp-hero-search-card .common-btn.color-one { margin: 0; }

/* =========================================================
   HERO SEARCH BAR — layout rewrite (homepage hero only)
   ---------------------------------------------------------
   body.homepage exists only in Views/Home/Index.cshtml and
   homepage.css is linked from no other view, so everything
   below is inert on thailand/singapore and every other page.
   Specificity body.homepage .hp-hero-search-card ... (>=0,4,1)
   beats img/newsearchweiget.css (<=0,2,0), which is linked from
   inside the shared partial and therefore loads AFTER this file
   and wins any specificity tie.
   ========================================================= */

/* ---------- A. Field internals: label/value alignment + safe gutters ---------- */
/* Base widget puts the value at padding-left 38 but the floating label at
   left 40 (2px drift) and leaves only 12px on the right, which is exactly
   where the clear (x), swap and chevron controls live.               */
body.homepage .hp-hero-search-card .input_div input {
    padding: 23px 16px 6px 34px;
    text-overflow: ellipsis;
}

body.homepage .hp-hero-search-card .input_div::before { left: 34px; }

/* fields carrying a right-hand control reserve room for it */
body.homepage .hp-hero-search-card .fly_from input,
body.homepage .hp-hero-search-card .fly_to input,
body.homepage .hp-hero-search-card .passegers_input input {
    padding-right: 34px;
}

body.homepage .hp-hero-search-card .depart_date input,
body.homepage .hp-hero-search-card .return_date input {
    padding-right: 16px;
}

body.homepage .hp-hero-search-card .class_div_heading input {
    padding: 23px 36px 6px 14px;
    text-overflow: ellipsis;
}

body.homepage .hp-hero-search-card .class_div_heading::before { left: 14px; }

/* #txtclass is markup-tagged with a stray "input_div" class, so the widget's
   .input_div rules (box, inset shadow AND a second :focus-within ring) land on
   the input itself and paint a duplicate blue ring inside the Class box.
   Neutralise it here rather than editing the shared partial.                */
body.homepage .hp-hero-search-card #class_type input.input_div {
    width: 100%;
    height: 100%;
    position: static;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 23px 36px 6px 14px;
}

body.homepage .hp-hero-search-card #class_type input.input_div:focus,
body.homepage .hp-hero-search-card #class_type input.input_div:focus-within {
    background: transparent;
    border: 0;
    border-color: transparent;
    box-shadow: none;
}

body.homepage .hp-hero-search-card #class_type input.input_div::before {
    content: none;
    display: none;
}

/* ---------- B. Swap button lives entirely inside the From/To gap ---------- */
/* gap 34px, swap at right:-32px => swap spans +2px..+32px from the From edge,
   so it clears the From box, the clear (x) inside it AND the To box.        */
body.homepage .hp-hero-search-card .dip_flex.route-main { gap: 34px; }

body.homepage .hp-hero-search-card .fly_from .swap_btn { right: -32px; }

/* ---------- C. Trip-type pill: containing block is the PADDING box ---------- */
/* container padding is 4px, not 12px; the old (100% - 24px)/3 made the pill
   5.4px narrow and the translateX step 5.4px short, so the drift grew to
   11.7px on Multi-City and covered the neighbouring label.                  */
body.homepage .hp-hero-search-card .switch-wrapper {
    width: calc((100% - 8px) / 3);
}

/* ---------- D. Passenger counter must never leave the viewport ---------- */
body.homepage .hp-hero-search-card #show_counter {
    max-width: calc(100vw - 48px);
}

/* ---------- E. Layout base: two rows (From|To|Depart|Return / Class|Pax|Search) ---------- */
body.homepage .hp-hero-search-card .flex_input { gap: 12px; }

body.homepage .hp-hero-search-card .dip_flex.route-main,
body.homepage .hp-hero-search-card .dip_flex.route-dates {
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
}

body.homepage .hp-hero-search-card .flex_pax_class {
    flex: 1 1 calc(100% - 190px);
    min-width: 0;
}

body.homepage .hp-hero-search-card .button_div {
    flex: 0 0 176px;
    min-width: 176px;
}

body.homepage .hp-hero-search-card .button_div .common-btn.color-one {
    height: 58px;
}

/* ---------- F. >=1440px: single row, card widened so nothing truncates ---------- */
@media (min-width: 1440px) {
    body.homepage .hp-hero-search { max-width: 1400px; }

    body.homepage .hp-hero-search-card .dip_flex.route-main {
        flex: 1 1 450px;
        min-width: 450px;
    }

    body.homepage .hp-hero-search-card .dip_flex.route-dates {
        flex: 1 1 300px;
        min-width: 300px;
    }

    body.homepage .hp-hero-search-card .flex_pax_class {
        flex: 1 1 350px;
        min-width: 350px;
    }
}

/* ---------- G. 768-1023px: three rows so every field gets full width ---------- */
@media (max-width: 1023px) {
    body.homepage .hp-hero-search-card .dip_flex.route-main,
    body.homepage .hp-hero-search-card .dip_flex.route-dates {
        flex: 1 1 100%;
        min-width: 0;
    }

    body.homepage .hp-hero-search-card .flex_pax_class {
        flex: 1 1 calc(100% - 190px);
    }
}

/* ---------- H. <=767px: one column ---------- */
@media (max-width: 767px) {
    body.homepage .hp-hero-search-card .flex_input { gap: 12px; }

    body.homepage .hp-hero-search-card .dip_flex.route-main,
    body.homepage .hp-hero-search-card .dip_flex.route-dates,
    body.homepage .hp-hero-search-card .flex_pax_class,
    body.homepage .hp-hero-search-card .button_div {
        flex: 1 1 100%;
        min-width: 0;
    }

    body.homepage .hp-hero-search-card .button_div .common-btn.color-one { height: 56px; }
}

/* ---------- I. <=560px: From/To stack, swap moves into the vertical gap ---------- */
@media (max-width: 560px) {
    body.homepage .hp-hero-search-card { padding: 14px; }

    body.homepage .hp-hero-search-card .dip_flex.route-main { flex-wrap: wrap; }

    body.homepage .hp-hero-search-card .fly_from,
    body.homepage .hp-hero-search-card .fly_to {
        flex: 1 1 100%;
        min-width: 0;
    }

    body.homepage .hp-hero-search-card .fly_from .swap_btn {
        right: 14px;
        top: calc(100% + 2px);
        transform: none;
    }

    body.homepage .hp-hero-search-card .fly_from .swap_btn:hover {
        transform: rotate(180deg);
    }
}

/* ---------- J. <=400px: Class and Travellers stack ---------- */
@media (max-width: 400px) {
    body.homepage .hp-hero-search-card .flex_pax_class { flex-wrap: wrap; }

    body.homepage .hp-hero-search-card .hide_div_pass_classtype,
    body.homepage .hp-hero-search-card .passegers_input {
        flex: 1 1 100%;
        min-width: 0;
    }
}


/* ---------- K. Dropdown layering: backdrop-filter on every field traps the
       absolute dropdowns inside a stacking context, so a dropdown opens BELOW
       the sibling fields painted later in the DOM (multi-city autocomplete hid
       behind the class/travellers row). Pin resting fields to z-index:0 and
       lift the ACTIVE field (whole subtree incl. its open dropdown) to z:60. -- */
body.homepage .hp-hero-search-card .input_div,
body.homepage .hp-hero-search-card .class_div_heading,
body.homepage .hp-hero-search-card .mc-leg-cell {
    z-index: 0;
}

body.homepage .hp-hero-search-card .input_div:focus-within,
body.homepage .hp-hero-search-card .class_div_heading:focus-within,
body.homepage .hp-hero-search-card .mc-leg-cell:focus-within {
    z-index: 60;
}

/* Keep the field elevated while the pointer is over its OPEN dropdown: on
   mousedown the input loses focus, focus-within drops and the dropdown sinks
   behind the covering fields before the click dispatch -> suggestions become
   unclickable. :has(.x:hover) holds z:60 for the whole press/release. */
body.homepage .hp-hero-search-card .input_div:has(#divautocomplete:hover),
body.homepage .hp-hero-search-card .input_div:has(#divautocompleteR:hover),
body.homepage .hp-hero-search-card .mc-leg-cell:has(.mc-ac:hover),
body.homepage .hp-hero-search-card .class_div_heading:has(.body_classtype:hover),
body.homepage .hp-hero-search-card .input_div:has(#show_counter:hover) {
    z-index: 60;
}


/* ---- datepicker: fixed bottom-sheet, never clipped ---- */
body.homepage #ui-datepicker-div {
    position: fixed !important;
    top: auto !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 1200 !important;
    border-radius: 16px;
    box-shadow: 0 24px 60px -20px rgba(11, 31, 63, 0.45);
    border: 1px solid #e6edf5;
    background: #fff;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    padding: 0;
    margin: 0;
}

body.homepage #ui-datepicker-div .ui-datepicker-header {
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 12px 10px;
}

body.homepage #ui-datepicker-div .ui-datepicker-header .ui-datepicker-title { color: #fff; font-size: 14px; font-weight: 600; }

body.homepage #ui-datepicker-div .ui-datepicker-header .ui-datepicker-prev span,
body.homepage #ui-datepicker-div .ui-datepicker-header .ui-datepicker-next span { border-color: #fff; }

body.homepage #ui-datepicker-div .ui-datepicker-calendar thead th span { color: #64748b; font-size: 11px; font-weight: 600; }

body.homepage #ui-datepicker-div .ui-datepicker-calendar a,
body.homepage #ui-datepicker-div .ui-datepicker-calendar a.ui-state-default {
    background: #fff;
    border: none;
    border-radius: 8px;
    color: #1c2c40;
    text-align: center;
    line-height: 2.2;
    font-size: 13px;
}

body.homepage #ui-datepicker-div .ui-datepicker-calendar a:hover,
body.homepage #ui-datepicker-div .ui-datepicker-calendar a.ui-state-hover,
body.homepage #ui-datepicker-div td a.ui-state-active {
    background: #eef6ff;
    color: var(--blue);
    border: none;
}

body.homepage #ui-datepicker-div td.ui-datepicker-current-day a {
    background: var(--grad);
    color: #fff;
    border-radius: 8px;
}

body.homepage #ui-datepicker-div .ui-datepicker-calendar td { padding: 1px; }

/* =========================================================
   DEALS â€” Book Your Cheap Flights (light panel)
   ========================================================= */
.hp-deals {
    background: #fff;
    border-top: 1px solid #eef2f8;
    padding: 78px 0 92px;
    position: relative;
}

.hp-pkg-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.hp-pkg {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 180px;
    border: 1px solid #eef2f8;
    box-shadow: 0 18px 44px -28px rgba(11, 31, 63, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hp-pkg img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-pkg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 42, 0.06) 0%, rgba(7, 20, 42, 0.86) 100%);
    transition: background 0.3s;
}

.hp-pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(11, 31, 63, 0.6); }
.hp-pkg:hover img { transform: scale(1.12); }
.hp-pkg:hover::after { background: linear-gradient(180deg, rgba(30, 91, 255, 0.18) 0%, rgba(7, 20, 42, 0.9) 100%); }

.hp-pkg-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px 18px;
    z-index: 3;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.hp-pkg-info h4 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.hp-pkg-info span { font-size: 12.5px; opacity: 0.95; }

.hp-pkg-arrow {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s, background 0.3s, color 0.3s;
}

.hp-pkg:hover .hp-pkg-arrow { transform: rotate(45deg); background: #fff; }

/* =========================================================
   TRENDING
   ========================================================= */
.hp-section {
    padding: 84px 0;
    position: relative;
}

.hp-trend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.hp-trend-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f8;
    box-shadow: 0 14px 38px -30px rgba(11, 31, 63, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.hp-trend-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 34px 70px -36px rgba(11, 31, 63, 0.55);
}

.hp-trend-img {
    position: relative;
    height: 205px;
    overflow: hidden;
}

.hp-trend-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-trend-item:hover .hp-trend-img img { transform: scale(1.1); }

.hp-trend-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(7, 20, 42, 0.4) 100%);
}

.hp-price-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 12.5px;
    padding: 7px 13px;
    border-radius: 999px;
    box-shadow: 0 8px 20px -8px rgba(11, 31, 63, 0.4);
    z-index: 2;
}

.hp-price-tag strong { color: var(--blue); }

.hp-trend-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp-trend-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
}

.hp-trend-body h3 i { color: var(--blue); font-size: 15px; }

.hp-trend-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.hp-trend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hp-trend-price { font-size: 13px; color: var(--muted); }
.hp-trend-price strong { font-size: 18px; color: var(--navy); }

.hp-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad);
    color: #fff !important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 22px -12px rgba(43, 111, 243, 0.7);
    transition: transform 0.25s, box-shadow 0.25s;
}

.hp-book-btn:hover { transform: translateX(4px); box-shadow: 0 14px 28px -12px rgba(43, 111, 243, 0.8); }

/* =========================================================
   TRUST / STATS strip
   ========================================================= */
.hp-trust-strip {
    background: #fff;
    border-top: 1px solid #eef2f8;
    border-bottom: 1px solid #eef2f8;
    padding: 64px 0;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.hp-stat {
    text-align: center;
    padding: 30px 16px 26px;
    background: var(--bg);
    border: 1px solid #eef2f8;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-stat:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -30px rgba(11, 31, 63, 0.45); }

.hp-stat-icon {
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e4edf9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 21px;
}

.hp-stat h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; margin: 0 0 4px; color: var(--navy); letter-spacing: -0.03em; }

.hp-stat p { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* =========================================================
   WHY US / BENEFITS
   ========================================================= */
.hp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.hp-feature {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid #eef2f8;
    box-shadow: 0 12px 34px -30px rgba(11, 31, 63, 0.4);
    text-align: left;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hp-feature:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 60px -34px rgba(11, 31, 63, 0.5);
}

.hp-feature-icon {
    width: 56px; height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(43, 111, 243, 0.09);
    border: 1px solid rgba(43, 111, 243, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--blue);
}

.hp-feature h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px;
}

.hp-feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* =========================================================
   AIRLINES marquee
   ========================================================= */
.hp-airlines {
    background: #fff;
    border-top: 1px solid #eef2f8;
    border-bottom: 1px solid #eef2f8;
    padding: 60px 0 72px;
}

.hp-airlines-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hp-airlines-head .hp-kicker { margin-bottom: 8px; }

.hp-airlines-note {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0;
}

.hp-airlines-note strong { color: var(--navy); font-weight: 700; }

.hp-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hp-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: hp-marquee 38s linear infinite;
}

.hp-marquee:hover .hp-marquee-track { animation-play-state: paused; }

.hp-marquee span {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #53657f;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    border: 1px solid #e6edf5;
    border-radius: 999px;
    background: var(--bg);
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.hp-marquee span:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

@keyframes hp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.hp-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 8px;
}

.hp-about-visual { position: relative; padding: 24px 0; }

.hp-about-main {
    border-radius: 26px;
    box-shadow: 0 30px 70px -40px rgba(11, 31, 63, 0.55);
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.hp-about-float {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 26px 60px -28px rgba(11, 31, 63, 0.5);
    border: 6px solid #fff;
    width: 180px;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    z-index: 2;
}

.hp-about-float--1 { top: 4%; right: 2%; }
.hp-about-float--2 { bottom: 4%; left: 2%; }

.hp-about-card {
    position: absolute;
    bottom: 6%; right: 8%;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--navy);
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 13px 18px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 22px 48px -22px rgba(11, 31, 63, 0.45);
    z-index: 3;
}

.hp-about-card .fa-star { color: var(--gold); }

.hp-about-body .hp-lead { margin-bottom: 22px; }

.hp-about-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hp-about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    color: var(--ink);
}

.hp-about-list .fa-circle-check { color: var(--blue); font-size: 20px; margin-top: 2px; }

/* =========================================================
   OFFER BANNER
   ========================================================= */
.hp-offer {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 34px 80px -46px rgba(11, 31, 63, 0.55);
    display: block;
}

.hp-offer img { width: 100%; height: auto; display: block; }

/* =========================================================
   SEO CONTENT
   ========================================================= */
.hp-seo {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 24px;
    box-shadow: 0 18px 50px -36px rgba(11, 31, 63, 0.4);
    padding: 48px 52px;
}

.hp-seo h1, .hp-seo h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin: 30px 0 10px;
    letter-spacing: -0.02em;
}

.hp-seo h1:first-child, .hp-seo h2:first-child { margin-top: 0; }

.hp-seo p {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 14px;
}

.hp-seo ul {
    list-style: none;
    margin: 6px 0 18px;
    padding: 0;
}

.hp-seo ul li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.65;
}

.hp-seo ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0; top: 1px;
    color: var(--blue);
    font-size: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .hp-features { grid-template-columns: repeat(2, 1fr); }
    .hp-trend-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-pkg-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    .hp-hero-search-card .passenger_and_triptype::after { display: none; }
    .hp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 900px) {
    .hp-hero { padding: 84px 18px 78px; }
    .hp-about { grid-template-columns: 1fr; gap: 40px; }
    .hp-pkg-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hp-hero-content { margin-top: 60px; }
    .hp-hero-trust { gap: 10px 18px; }
    .hp-marquee span { font-size: 13px; padding: 9px 16px; }
    .hp-pkg-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .homepage .hp-container { padding: 0 18px; }
    .hp-section { padding: 56px 0; }
    .hp-hero { padding: 74px 16px 70px; }
    .hp-hero-content { margin-top: 44px; }
    .hp-hero h1 { font-size: clamp(31px, 8.6vw, 42px); }
    .hp-hero-actions { flex-direction: column; align-items: stretch; }
    .hp-hero-actions .hp-btn { justify-content: center; }
    .hp-hero-trust { flex-direction: column; align-items: center; gap: 10px; }
    .hp-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hp-stat { padding: 22px 12px 18px; }
    .hp-features { grid-template-columns: 1fr; }
    .hp-trend-grid { grid-template-columns: 1fr; }
    .hp-pkg-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hp-pkg { height: 160px; }
    .hp-deals { padding: 60px 0 72px; }
    .hp-trust-strip { padding: 48px 0; }
    .hp-seo { padding: 30px 22px; }
    .hp-about-float { width: 120px; }
    .hp-about-main { height: 340px; }
}

@media (max-width: 400px) {
    .hp-pkg-grid { grid-template-columns: 1fr; }
    .hp-stat-icon { width: 46px; height: 46px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal], .hp-hero-content, .hp-hero-search-card { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
    .hp-marquee-track { animation: none; }
}
