/* =========================================================
   Offvisa new landing - shell (header / footer / FAQ)
   Mockup styling. Not scoped under .hv2 (header & footer
   live outside <main class="hv2">).
   ========================================================= */

/* Buttons — available wherever the shell is loaded (header/footer, partners topbar) */
.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, #166b4c); color: #fff; }
.hv2-btn--primary:hover { background: var(--hv2-green-dark, #0f4f38); color: #fff; }
.hv2-btn--ghost { background: #fff; color: #22302a; border-color: #cfd5cf; }
.hv2-btn--ghost:hover { border-color: var(--hv2-green, #166b4c); color: var(--hv2-green, #166b4c); }
.hv2-btn svg { width: 15px; height: 15px; }
.hv2-btn--sm { padding: 9px 18px; font-size: 13.5px; border-radius: 7px; }

/* Minimal topbar variant: logo + two CTAs (e.g. /partners).
   Desktop  -> logo + buttons in a row.
   Phone    -> logo + burger; burger reveals the two buttons as a dropdown. */
.hv2-hdr--minimal .hv2-hdr__inner {
    position: relative;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
}
.hv2-hdr--minimal .hv2-hdr__logo { flex: none; }
.hv2-hdr--minimal .hv2-hdr__burger { display: none; margin-left: auto; }
.hv2-hdr--minimal .hv2-hdr__burger span { transition: transform .2s ease, opacity .2s ease; }
.hv2-hdr--minimal .hv2-hdr__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 0 0 auto !important;
    gap: 8px;
    flex: none;
}
.hv2-hdr--minimal .hv2-btn--sm { white-space: nowrap; }

/* off-canvas menu close (✕) button — shown only inside the mobile panels */
.hv2-hdr__close {
    display: none;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--hv2-line, #e7e8e5);
    border-radius: 8px;
    cursor: pointer;
    color: #22302a;
    padding: 0;
}
.hv2-hdr__close svg { width: 18px; height: 18px; }
.hv2-hdr__close:hover { border-color: #166b4c; color: #166b4c; }

@media (max-width: 640px) {
    .hv2-hdr--minimal .hv2-hdr__burger { display: flex; }

    /* off-canvas panel from the right — same behaviour as the main home menu */
    .hv2-hdr--minimal .hv2-hdr__actions {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: min(320px, 86vw) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start;
        gap: 12px;
        padding: 64px 20px 28px;
        margin: 0 !important;
        background: #fff;
        transform: translateX(100%);
        transition: transform .25s ease, visibility .25s ease;
        overflow-y: auto;
        z-index: 58;
        visibility: hidden;
    }
    body.hv2-mini-open .hv2-hdr--minimal .hv2-hdr__actions {
        transform: translateX(0);
        visibility: visible;
        box-shadow: -18px 0 40px rgba(20, 40, 30, .18);
    }

    .hv2-hdr--minimal .hv2-hdr__close { display: flex; }

    .hv2-hdr--minimal .hv2-hdr__actions .hv2-btn--sm {
        padding: 13px 14px;
        font-size: 14px;
        justify-content: center;
    }
}

/* mobile off-canvas nav: lock page scroll while open */
body.hv2-nav-open,
body.hv2-mini-open { overflow: hidden; }

/* ---------------- Header ---------------- */
.hv2-hdr {
    position: relative;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--hv2-line, #e7e8e5);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.4;
}
.hv2-hdr, .hv2-hdr * { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.hv2-hdr__inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 12px 44px;
}
.hv2-hdr__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: none;
}
.hv2-hdr__logo img {
    display: block;
    height: 30px;
    width: auto;
}
.hv2-hdr__logo span {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .01em;
    color: #14513a;
    margin-left: 9px;
}
.hv2-hdr__nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}
.hv2-hdr__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hv2-hdr__item { position: relative; }
.hv2-hdr__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2b3a33;
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    border-radius: 6px;
    white-space: nowrap;
}
.hv2-hdr__link:hover { color: #166b4c; background: #f4f6f4; }
.hv2-hdr__drop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--hv2-line, #e7e8e5);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(20, 40, 30, .12);
    padding: 6px;
    display: none;
    z-index: 5;
}
.hv2-hdr__drop--lang { left: auto; right: 0; min-width: 150px; }
.hv2-hdr__drop--visas {
    left: 0;
    min-width: 240px;
    max-width: 92vw;
    max-height: min(60vh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
}
.hv2-hdr__drop a {
    display: block;
    padding: 9px 12px;
    font-size: 14px;
    color: #2b3a33;
    text-decoration: none;
    border-radius: 7px;
    white-space: nowrap;
}
.hv2-hdr__drop a:hover { background: #eef3ef; color: #166b4c; }
.hv2-hdr__drop a.is-active { color: #166b4c; font-weight: 600; }

/* all header dropdowns open on CLICK only (no hover / no disappearing gap) */
.hv2-has-drop.is-open > .hv2-hdr__drop,
.hv2-hdr__lang.hv2-drop.is-open > .hv2-hdr__drop { display: block; }
.hv2-has-drop.is-open > .hv2-hdr__link,
.hv2-hdr__link[aria-expanded="true"] { color: #166b4c; background: #f4f6f4; }
.hv2-hdr__link > svg:last-child,
.hv2-hdr__lang-btn svg:last-child { transition: transform .2s ease; }
.hv2-has-drop.is-open .hv2-hdr__link > svg:last-child,
.hv2-hdr__lang.is-open .hv2-hdr__lang-btn svg:last-child { transform: rotate(180deg); }
.hv2-hdr__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex: none;
}
.hv2-hdr__lang { position: relative; }
.hv2-hdr__lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    font-size: 13px;
    font-weight: 500;
    color: #2b3a33;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.hv2-hdr__lang-btn:hover { color: #166b4c; }
.hv2-hdr__burger {
    display: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: none;
    border: 1px solid var(--hv2-line, #e7e8e5);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.hv2-hdr__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #22302a;
    border-radius: 2px;
}
.hv2-hdr__overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 15, .4);
    z-index: 55;
}

@media (max-width: 1080px) {
    .hv2-hdr__inner { gap: 18px; padding: 12px 24px; }
    .hv2-hdr__menu { gap: 0; }
    .hv2-hdr__link { padding: 8px 9px; font-size: 13px; }
    .hv2-hdr__actions { gap: 8px; }
}

@media (max-width: 900px) {
    .hv2-hdr__burger { display: flex; }
    .hv2-hdr__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 86vw);
        height: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 74px 20px 28px;
        transform: translateX(100%);
        transition: transform .25s ease, visibility .25s ease;
        overflow-y: auto;
        z-index: 58;
        visibility: hidden;
    }
    .hv2-nav-open .hv2-hdr__nav {
        transform: translateX(0);
        visibility: visible;
        box-shadow: -18px 0 40px rgba(20, 40, 30, .16);
    }
    .hv2-hdr__nav .hv2-hdr__close { display: flex; }
    .hv2-hdr__menu { flex-direction: column; align-items: stretch; width: 100%; }
    .hv2-hdr__item { border-bottom: 1px solid #f0f1ef; }
    .hv2-hdr__link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 15px; }
    .hv2-hdr__drop {
        position: static;
        border: 0;
        box-shadow: none;
        padding: 0 0 8px 10px;
        min-width: 0;
    }
    .hv2-hdr__drop--lang { right: auto; }
    .hv2-hdr__drop--visas {
        min-width: 0;
        max-width: none;
        max-height: 260px;
    }
    .hv2-hdr__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 18px 0 0;
        gap: 10px;
    }
    .hv2-hdr__lang { order: 3; }
    .hv2-hdr__lang-btn { padding: 12px 6px; font-size: 15px; border-top: 1px solid #f0f1ef; width: 100%; }
    .hv2-btn--sm { padding: 12px 18px; font-size: 14px; }
}

/* ---------------- Footer ---------------- */
.hv2-ftr {
    background: #fff;
    border-top: 1px solid #eceeea;
    padding: 46px 0 28px;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
}
.hv2-ftr, .hv2-ftr * { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.hv2-ftr__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 44px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px 32px;
}
.hv2-ftr__brand { display: flex; flex-direction: column; align-items: flex-start; }
.hv2-ftr__logo { display: inline-flex; align-items: center; text-decoration: none; }
.hv2-ftr__logo img { display: block; height: 28px; width: auto; }
.hv2-ftr__logo span { font-size: 19px; font-weight: 700; color: #14513a; margin-left: 9px; }
.hv2-ftr__social { display: flex; gap: 14px; margin-top: 20px; color: #3f4e46; }
.hv2-ftr__social a { color: inherit; }
.hv2-ftr__social svg { width: 18px; height: 18px; }
.hv2-ftr__social a:hover { color: #166b4c; }
.hv2-ftr__col { display: flex; flex-direction: column; }
.hv2-ftr__t { font-size: 16px; font-weight: 600; color: #1b2721; margin-bottom: 16px; }
.hv2-ftr__col a {
    font-size: 14px;
    color: #5b6a62;
    text-decoration: none;
    padding: 6px 0;
}
.hv2-ftr__col a:hover { color: #166b4c; }
.hv2-ftr__lang { position: relative; margin-top: 20px; }
.hv2-ftr__copy {
    margin: 26px 0 0;
    font-size: 12.5px;
    color: #8a948e;
}
.hv2-ftr__disclaimer {
    margin: 10px 0 0;
    max-width: 380px;
    font-size: 12px;
    line-height: 1.65;
    color: #9aa39d;
}
.hv2-ftr__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: inherit;
    font-size: 13px;
    color: #3f4e46;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.hv2-ftr__lang-btn:hover { color: #166b4c; }
.hv2-ftr__lang-btn svg:first-child { width: 14px; height: 14px; }
.hv2-ftr__lang-btn svg:last-child { width: 9px; height: 9px; transition: transform .2s ease; }
.hv2-ftr__lang.is-open .hv2-ftr__lang-btn svg:last-child { transform: rotate(180deg); }
.hv2-ftr__lang-menu {
    position: absolute;
    left: 0;
    right: auto;
    bottom: calc(100% + 8px);
    min-width: 160px;
    max-width: calc(100vw - 32px);
    max-height: 264px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--hv2-line, #e7e8e5);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(20, 40, 30, .16);
    padding: 6px;
    display: none;
    z-index: 10;
}
.hv2-ftr__lang.is-open .hv2-ftr__lang-menu { display: block; }
.hv2-ftr__lang-menu a {
    display: block;
    padding: 8px 12px;
    font-size: 12px;
    color: #3f4e46;
    text-decoration: none;
    border-radius: 7px;
    white-space: nowrap;
}
.hv2-ftr__lang-menu a:hover { background: #eef3ef; color: #166b4c; }
.hv2-ftr__lang-menu a.is-active { color: #166b4c; font-weight: 600; }

@media (max-width: 1080px) {
    .hv2-ftr__inner { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; padding: 0 24px; }
    .hv2-ftr__brand { grid-column: 1 / -1; }
    /* footer lang list: brand column is now at the top, so open DOWNWARD and
       keep it inside the viewport instead of off the top of the screen */
    .hv2-ftr__lang-menu {
        bottom: auto;
        top: calc(100% + 8px);
        left: 0;
        right: auto;
        max-width: calc(100vw - 40px);
    }
}
@media (max-width: 620px) {
    .hv2-ftr__inner { grid-template-columns: 1fr 1fr; padding: 0 16px; }
    .hv2-ftr__brand { grid-column: 1 / -1; }
    .hv2-ftr__lang-menu { max-width: calc(100vw - 32px); }
}

/* ---------------- FAQ ---------------- */
.hv2-faq-wrap {
    display: grid;
    grid-template-columns: 340px minmax(0, 700px);
    gap: 20px 64px;
    justify-content: space-between;
    padding: 26px 0 0;
    align-items: start;
}

/* left intro column */
.hv2-faq-intro__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1f7d5b;
}
.hv2-faq-intro__title {
    margin-top: 16px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #151f1a;
}
.hv2-faq-intro__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--hv2-muted, #68766e);
    max-width: 300px;
}
.hv2-faq-intro .hv2-btn { margin-top: 22px; }
.hv2-faq-intro .hv2-btn--sm { font-size: 13.5px; font-weight: 600; padding: 10px 18px; }
.hv2-faq-intro .hv2-btn--sm svg { width: 14px; height: 14px; transition: transform .2s ease; }
.hv2-faq-intro .hv2-btn--sm.is-expanded svg { transform: rotate(90deg); }
.hv2-faq-intro__chat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #166b4c;
    text-decoration: none;
}
.hv2-faq-intro__chat svg { width: 15px; height: 15px; flex: none; }
.hv2-faq-intro__chat:hover { color: #0f4f38; }

/* right list — borderless rows split by thin dividers */
.hv2-faq { min-width: 0; }
.hv2-faq__item {
    border-top: 1px solid var(--hv2-line, #e7e8e5);
    background: transparent;
}
.hv2-faq__item:last-child { border-bottom: 1px solid var(--hv2-line, #e7e8e5); }
.hv2-faq__item.is-extra { display: none; }
.hv2-faq.show-all .hv2-faq__item.is-extra { display: block; }
.hv2-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 18px 2px;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #1b2721;
    text-align: left;
}
.hv2-faq__q:hover { color: #166b4c; }
.hv2-faq__q svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: #8b978f;
    transition: transform .28s ease;
}
.hv2-faq__item.is-open .hv2-faq__q svg { transform: rotate(180deg); }

/* smooth expand/collapse */
.hv2-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}
.hv2-faq__item.is-open .hv2-faq__a { grid-template-rows: 1fr; }
.hv2-faq__a-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 2px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--hv2-muted, #68766e);
    opacity: 0;
    transition: opacity .2s ease .04s, padding-bottom .3s ease;
}
.hv2-faq__item.is-open .hv2-faq__a-inner {
    opacity: 1;
    padding-bottom: 18px;
}
.hv2-faq__a-inner p { margin: 0 0 8px; }
.hv2-faq__a-inner > :last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
    .hv2-faq__a, .hv2-faq__a-inner, .hv2-faq__q svg { transition: none; }
}

@media (max-width: 900px) {
    .hv2-faq-wrap { grid-template-columns: 1fr; gap: 24px; }
    .hv2-faq-intro__text { max-width: none; }
    .hv2-faq-intro__title { font-size: 26px; }
}
