/* =========================================================
   Offvisa - new landing (home-v2)
   Scoped under .hv2 to avoid clashing with global style.min.css
   ========================================================= */

.hv2-body,
.hv2 {
    --hv2-green: #166b4c;
    --hv2-green-dark: #0f4f38;
    --hv2-green-soft: #1f7d5b;
    --hv2-ink: #151f1a;
    --hv2-ink-2: #1b2721;
    --hv2-muted: #68766e;
    --hv2-muted-2: #5b6a62;
    --hv2-line: #e7e8e5;
    --hv2-line-2: #dcdfdb;
    --hv2-beige: #f2f0ec;
    --hv2-beige-2: #f8f8f6;
    --hv2-radius: 10px;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--hv2-ink-2);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.hv2-body { margin: 0; }
.hv2-body.hv2-nav-open { overflow: hidden; }

.hv2 *,
.hv2 *::before,
.hv2 *::after { box-sizing: border-box; }

/* neutralise global style.min.css (body{font-family:Outfit;line-height:1}) */
.hv2,
.hv2 h1, .hv2 h2, .hv2 h3, .hv2 h4, .hv2 h5, .hv2 h6,
.hv2 p, .hv2 span, .hv2 a, .hv2 div, .hv2 button, .hv2 input, .hv2 label, .hv2 li {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.hv2 h1, .hv2 h2, .hv2 h3, .hv2 h4 { line-height: 1.15; }

.hv2 img { max-width: 100%; }

.hv2__wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 44px;
}

.hv2 h1, .hv2 h2, .hv2 h3, .hv2 p { margin: 0; }

.hv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hv2-btn--primary { background: var(--hv2-green); color: #fff; }
.hv2-btn--primary:hover { background: var(--hv2-green-dark); color: #fff; }
.hv2-btn--ghost { background: #fff; color: #22302a; border-color: #cfd5cf; }
.hv2-btn--ghost:hover { border-color: var(--hv2-green); color: var(--hv2-green); }
.hv2-btn svg { width: 15px; height: 15px; }

/* ---------------- Hero ---------------- */
.hv2-hero {
    position: relative;
    background: var(--hv2-beige);
    overflow: hidden;
}
.hv2-hero__dots {
    position: absolute;
    inset: 0;
    width: 58%;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, #c9cec7 1px, transparent 0);
    background-size: 9px 9px;
    opacity: .5;
}
.hv2-hero__media {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
}
.hv2-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hv2-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--hv2-beige) 0%, rgba(242,240,236,0) 42%);
}
.hv2-hero__inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 74px 44px 128px;
}
.hv2-hero__col { max-width: 460px; }
.hv2-hero__title {
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hv2-ink);
}
.hv2-hero__title span { color: var(--hv2-green-soft); }
.hv2-hero__text {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.75;
    color: #3a4a42;
    max-width: 380px;
}
.hv2-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 34px;
    margin-top: 32px;
}
.hv2-hero__badge {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #22302a;
}
.hv2-hero__badge svg { width: 22px; height: 22px; flex: none; stroke: var(--hv2-green-soft); }

/* ---------------- Search card ---------------- */
.hv2-search {
    position: relative;
    margin-top: -76px;
    background: #fff;
    border: 1px solid var(--hv2-line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20, 40, 30, .07);
    padding: 24px 28px 22px;
    z-index: 5;
}
.hv2-search__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--hv2-ink);
}
.hv2-search__title svg { width: 20px; height: 20px; stroke: var(--hv2-green-soft); }
.hv2-search__grid {
    display: grid;
    grid-template-columns: 1fr 30px 1fr 220px;
    gap: 16px;
    align-items: end;
    margin-top: 18px;
}
.hv2-search__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 12px;
    color: #8b978f;
}
.hv2-search__arrow svg { width: 20px; height: 20px; }
.hv2-search__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--hv2-muted-2);
    margin-bottom: 7px;
}
.hv2-search__submit { width: 100%; height: 46px; }
.hv2-search__divider {
    height: 1px;
    background: #eceeea;
    margin: 20px 0 14px;
}
.hv2-search__popular {
    display: flex;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #3f4e46;
}
.hv2-search__popular > span:first-child { color: #6b7a72; }
.hv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3f4e46;
    text-decoration: none;
}
a.hv2-chip:hover { color: var(--hv2-green); }
a.hv2-chip:hover .hv2-chip__flag { opacity: .85; }
.hv2-chip__flag {
    width: 18px;
    height: 13px;
    flex: none;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}
.hv2-chip__emoji { font-size: 15px; line-height: 1; }
.hv2-chip__dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1c4fa1;
    display: inline-block;
}

/* ---------------- Searchable select ---------------- */
.hv2-select { position: relative; }
.hv2-select select.hv2-select__native {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
/* If JS disabled, show native select */
.hv2-select.no-js select.hv2-select__native {
    position: static;
    opacity: 1;
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--hv2-line-2);
    border-radius: 7px;
    font: inherit;
}
.hv2-select__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid var(--hv2-line-2);
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
    color: #3f4e46;
    cursor: pointer;
    text-align: left;
}
.hv2-select__control:focus,
.hv2-select.is-open .hv2-select__control {
    outline: none;
    border-color: var(--hv2-green-soft);
    box-shadow: 0 0 0 3px rgba(31, 125, 91, .12);
}
.hv2-select__value {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hv2-select__value.is-placeholder { color: #96a19a; }
.hv2-select__value img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    background: #f0f0ee;
}
.hv2-select__caret { flex: none; width: 14px; height: 14px; color: #6b7a72; transition: transform .15s ease; }
.hv2-select.is-open .hv2-select__caret { transform: rotate(180deg); }

.hv2-select__panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--hv2-line);
    border-radius: 10px;
    box-shadow: 0 20px 46px rgba(20, 40, 30, .16);
    padding: 8px;
    display: none;
}
.hv2-select.is-open .hv2-select__panel { display: block; }
.hv2-select__search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--hv2-line-2);
    border-radius: 7px;
    font: inherit;
    font-size: 13.5px;
    margin-bottom: 6px;
}
.hv2-select__search:focus {
    outline: none;
    border-color: var(--hv2-green-soft);
}
.hv2-select__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 264px;
    overflow-y: auto;
}
.hv2-select__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 14px;
    color: #223029;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hv2-select__option img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    background: #f0f0ee;
}
.hv2-select__option:hover,
.hv2-select__option.is-active {
    background: #eef3ef;
    color: var(--hv2-green);
}
.hv2-select__option.is-hidden { display: none; }
.hv2-select__empty {
    padding: 14px 12px;
    font-size: 13px;
    color: #96a19a;
    display: none;
}
.hv2-select__empty.is-visible { display: block; }

/* ---------------- Trust row ---------------- */
.hv2-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 34px 4px 8px;
}
.hv2-trust__item { display: flex; align-items: center; gap: 14px; }
.hv2-trust__item svg { width: 26px; height: 26px; flex: none; stroke: var(--hv2-green-soft); }
.hv2-trust__t { font-size: 15px; font-weight: 700; color: var(--hv2-ink-2); }
.hv2-trust__s { font-size: 13px; color: var(--hv2-muted); margin-top: 3px; }

/* ---------------- Section heads ---------------- */
.hv2-head { text-align: center; }
.hv2-head h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--hv2-ink);
}
.hv2-head p {
    margin-top: 9px;
    font-size: 14px;
    color: var(--hv2-muted);
}

/* ---------------- How it works ---------------- */
.hv2-steps {
    display: grid;
    grid-template-columns: 1fr 80px 1fr 80px 1fr;
    align-items: start;
    padding: 34px 12px 8px;
}
.hv2-step { text-align: center; padding: 0 24px; }
.hv2-step__icon { display: flex; justify-content: center; height: 48px; }
.hv2-step__icon svg { width: 40px; height: 40px; stroke: var(--hv2-green-soft); }
.hv2-step__num {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-radius: 50%;
    background: var(--hv2-green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv2-step__t { font-size: 16px; font-weight: 600; margin-top: 12px; color: var(--hv2-ink-2); }
.hv2-step__s { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--hv2-muted); }
.hv2-steps__sep { display: flex; align-items: center; padding-top: 24px; color: #a7b2ab; }
.hv2-steps__sep svg { width: 100%; height: 12px; }

/* ---------------- Why choose ---------------- */
.hv2-why {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 28px 0 0;
}
.hv2-why__card {
    border: 1px solid var(--hv2-line);
    border-radius: var(--hv2-radius);
    padding: 22px 18px;
    text-align: center;
    background: #fff;
}
.hv2-why__card svg { width: 26px; height: 26px; stroke: var(--hv2-green-soft); }
.hv2-why__t { font-size: 16px; font-weight: 600; margin-top: 12px; color: var(--hv2-ink-2); }
.hv2-why__s { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--hv2-muted); }

/* ---------------- Partner band ---------------- */
.hv2-partner {
    margin-top: 46px;
    background: var(--hv2-beige);
    border-radius: 14px;
    padding: 22px;
    display: grid;
    grid-template-columns: 315px 1fr;
    gap: 22px;
    align-items: start;
}
.hv2-partner__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #6b7a72;
    text-transform: uppercase;
}
.hv2-partner__title {
    margin-top: 14px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--hv2-green-soft);
}
.hv2-partner__text { margin-top: 14px; font-size: 13px; line-height: 1.7; color: #3a4a42; }
.hv2-partner__list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hv2-partner__list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #22302a;
}
.hv2-partner__list svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.hv2-partner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hv2-partner__actions .hv2-btn { padding: 9px 15px; font-size: 11.5px; }
.hv2-partner__actions .hv2-btn svg { width: 12px; height: 12px; }

/* Partner dashboard mock */
.hv2-dash {
    background: #fff;
    border: 1px solid var(--hv2-line);
    border-radius: 12px;
    overflow: hidden;
}
.hv2-dash__grid {
    display: grid;
    grid-template-columns: 120px 1fr;
}
.hv2-dash__aside {
    border-right: 1px solid #eceeea;
    padding: 14px 12px;
}
.hv2-dash__logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.hv2-dash__logo svg { width: 18px; height: 14px; }
.hv2-dash__logo span { font-size: 10.5px; font-weight: 700; color: #14513a; }
.hv2-dash__nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 9.5px;
    color: #68766e;
}
.hv2-dash__nav span { padding: 6px 8px; border-radius: 5px; }
.hv2-dash__nav span.is-active { background: #eef3ef; color: #166b4c; font-weight: 600; }
.hv2-dash__main { padding: 14px 16px; }
.hv2-dash__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hv2-dash__head > span:first-child { font-size: 12.5px; font-weight: 600; color: var(--hv2-ink-2); }
.hv2-dash__withdraw {
    padding: 5px 12px;
    background: var(--hv2-green);
    color: #fff;
    border-radius: 5px;
    font-size: 9.5px;
    font-weight: 600;
}
.hv2-dash__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.hv2-dash__stat-l { font-size: 9px; color: #7c8a82; }
.hv2-dash__stat-v {
    font-size: 17px;
    font-weight: 700;
    margin-top: 3px;
    color: var(--hv2-ink-2);
    font-variant-numeric: tabular-nums;
}
.hv2-dash__cols {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.hv2-dash__subt { font-size: 9.5px; font-weight: 600; color: var(--hv2-ink-2); margin-bottom: 8px; }
.hv2-dash__table { font-size: 8px; }
.hv2-dash__tr {
    display: grid;
    grid-template-columns: 1.15fr .95fr .8fr .55fr .6fr;
    gap: 8px 6px;
    align-items: center;
}
.hv2-dash__thead {
    color: #8b978f;
    border-bottom: 1px solid #eceeea;
    padding-bottom: 5px;
}
.hv2-dash__tbody { color: #3f4e46; padding-top: 7px; }
.hv2-dash__tbody .hv2-dash__tr { padding: 4px 0; }
.hv2-dash__badge {
    padding: 2px 5px;
    background: #eef3ef;
    color: #166b4c;
    border-radius: 3px;
    font-weight: 600;
}
.hv2-dash__chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.hv2-dash__chart-head > span:first-child { font-size: 9.5px; font-weight: 600; color: var(--hv2-ink-2); }
.hv2-dash__chart-head > span:last-child { font-size: 8px; color: #8b978f; }
.hv2-dash__chart svg { width: 100%; height: 96px; display: block; }
.hv2-dash__feats {
    border-top: 1px solid #eceeea;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 12px 16px;
}
.hv2-dash__feat { display: flex; align-items: flex-start; gap: 8px; font-size: 8.5px; line-height: 1.5; color: #3f4e46; }
.hv2-dash__feat svg { width: 14px; height: 14px; flex: none; margin-top: 1px; stroke: var(--hv2-green-soft); }
.hv2-dash__feat b { color: var(--hv2-ink-2); }

/* ---------------- Visa grid ---------------- */
.hv2-visas { padding: 24px 0 0; }
.hv2-visas__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 28px;
}
.hv2-visas__more { display: flex; justify-content: center; padding: 30px 0 0; }

/* ---------------- Popular destinations ---------------- */
.hv2-dest {
    background: var(--hv2-beige-2);
    border-top: 1px solid #eceeea;
    padding: 52px 0 62px;
    margin-top: 56px;
}
.hv2-dest__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.hv2-dest__card {
    background: #fff;
    border: 1px solid var(--hv2-line);
    border-radius: var(--hv2-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s ease, transform .15s ease;
}
.hv2-dest__card:hover {
    box-shadow: 0 14px 30px rgba(20, 40, 30, .1);
    transform: translateY(-2px);
    color: inherit;
}
.hv2-dest__img { height: 168px; background: #eee; }
.hv2-dest__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv2-dest__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hv2-dest__flag { width: 26px; height: 20px; object-fit: cover; border-radius: 3px; }
.hv2-dest__name { font-size: 15px; font-weight: 600; color: var(--hv2-ink-2); }
.hv2-dest__meta { font-size: 13px; color: var(--hv2-muted); line-height: 1.6; }
.hv2-dest__go { display: flex; justify-content: flex-end; margin-top: auto; color: var(--hv2-green); }
.hv2-dest__go svg { width: 16px; height: 16px; }

/* ---------------- Section spacing ---------------- */
.hv2-section { padding: 52px 0 0; }
.hv2-section--tight { padding: 40px 0 0; }

/* =========================================================
   Responsive / mobile
   ========================================================= */
@media (max-width: 1100px) {
    .hv2-visas__grid { grid-template-columns: repeat(3, 1fr); }
    .hv2-dest__grid { grid-template-columns: repeat(3, 1fr); }
    .hv2-why { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .hv2__wrap { padding: 0 24px; }
    .hv2-hero__inner { padding: 54px 24px 120px; }
    .hv2-hero__media { width: 42%; opacity: .5; }
    .hv2-hero__title { font-size: 38px; }
    .hv2-search__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hv2-search__arrow { display: none; }
    .hv2-search__submit { width: 100%; }
    .hv2-trust { gap: 22px; padding: 28px 0 0; }
    .hv2-steps {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 28px 0 0;
    }
    .hv2-steps__sep { display: none; }
    .hv2-partner {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .hv2-why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .hv2__wrap { padding: 0 16px; }
    .hv2-hero { }
    .hv2-hero__inner { padding: 40px 16px 110px; }
    .hv2-hero__media { display: none; }
    .hv2-hero__dots { width: 100%; }
    .hv2-hero__title { font-size: 32px; }
    .hv2-hero__text { font-size: 14px; }
    .hv2-hero__badges { gap: 16px 22px; margin-top: 24px; }
    .hv2-search {
        margin-top: -70px;
        padding: 20px 16px;
    }
    .hv2-search__title { font-size: 16.5px; }
    .hv2-trust {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hv2-visas__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hv2-why { grid-template-columns: 1fr; }
    .hv2-dest__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hv2-head h2 { font-size: 19px; }
    .hv2-section { padding: 40px 0 0; }
    .hv2-why { grid-template-columns: 1fr; }
    .hv2-dash__grid { grid-template-columns: 1fr; }
    .hv2-dash__aside { display: none; }
    .hv2-dash__cols { grid-template-columns: 1fr; }
    .hv2-dash__feats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .hv2-visas__grid { grid-template-columns: 1fr; }
    .hv2-dest__grid { grid-template-columns: 1fr; }
}
