/* ==========================================================================
   PEDULI ANAK GLOBAL STYLES (v2)
   ========================================================================== */

/* --- FONT FACE --- */
@font-face {
    font-family: 'Keep Calm';
    src: url('../fonts/KeepCalm-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* --- DESIGN TOKENS --- */
:root {
    /* Brand Colors */
    --pa-primary: #049551;
    --pa-primary-hover: #0c7334;
    --pa-primary-light: #EDF6EE;

    /* Text Colors */
    --pa-text-primary: #1f2937;
    --pa-text-secondary: #333;
    --pa-text-muted: #94a3b8;

    /* Backgrounds */
    --pa-bg-light: #EDF6EE;
    --pa-bg-white: #ffffff;

    /* Borders */
    --pa-border-color: #e5e7eb;

    /* Fonts */
    --pa-font-default: 'Inter', sans-serif;
    --pa-font-headline: 'Keep Calm', 'Inter', sans-serif;

    /* Gradients */
    --pa-gradient-green: linear-gradient(180deg, #55B78A 0%, #029551 49.93%);

    --pa-text-primary-active: #049551;

}

html {
    font-size: 10px;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--pa-font-default);
    color: var(--pa-text-primary);
    background-color: var(--pa-bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--pa-font-headline);
    font-weight: 500;
    margin-top: 0;
}

/* --- CORE UTILITIES --- */
.pa-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

@media (min-width: 1230px) {
    .pa-container {
        padding: 0 40px;
    }
}

.pa-section {
    padding: 4rem 0;
}

/* --- BREADCRUMB (reusable) --- */
.pa-breadcrumb {
    padding: 24px 0;
    font-size: 16px;
    font-weight: 500;
}

.pa-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #64748b;
}

.pa-breadcrumb__link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.pa-breadcrumb__link:hover {
    color: var(--pa-primary);
}

.pa-breadcrumb__separator {
    color: #cbd5e1;
}

.pa-breadcrumb__current {
    color: #333;
    font-weight: 600;
}

@media (min-width: 1230px) {
    .pa-section {
        padding: 6rem 0;
    }
}

.hv2-header__actions .pa-btn {
    padding: 10px 24px;
}

/* --- BUTTONS --- */
.pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-family: var(--pa-font-default);
    white-space: nowrap;
    line-height: 1;
}

.pa-btn--outline-dark:hover {
    color: white;
    background: var(--pa-primary);
}

@media (max-width: 1230px) {
    .pa-btn {
        font-size: 16px;
        padding: 12px 20px;
    }
}

.pa-btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.pa-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pa-btn--white {
    background: #fff;
    color: var(--pa-primary);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.pa-btn--white:hover {
    background: #f0fdf4;
    color: var(--pa-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.pa-btn--outline-dark {
    border-color: var(--pa-primary);
    color: var(--pa-primary);
    background: transparent;
}

.pa-btn:focus {
    text-decoration: none;
}

.pa-btn--outline-dark:focus:not(:hover) {
    color: var(--pa-primary);
}

.pa-btn--outline:focus:not(:hover) {
    color: #fff;
}

.pa-btn--white:focus:not(:hover) {
    color: var(--pa-primary);
}

.pa-btn--primary:focus:not(:hover) {
    color: #fff;
}

.pa-btn--primary {
    background: var(--pa-primary);
    color: #fff;
    border-color: var(--pa-primary);
}

.pa-btn--primary:hover {
    background: white;
    color: var(--pa-primary);
}

.pa-btn--full {
    width: 100%;
}

/* Backward compatibility aliases */
.hv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1;
}

.hv2-btn {
    display: inline-flex;
}

.hv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1;
}

.hv2-btn--primary {
    background: var(--pa-primary);
    color: #fff;
    border-color: var(--pa-primary);
}

.hv2-btn--white {
    background: #fff;
    color: var(--pa-primary);
    border-color: #fff;
}

.hv2-btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ==========================================================================
   GLOBAL HEADER (v2)
   ========================================================================== */

.pa-header,
.hv2-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--pa-primary);
    box-shadow: none;
}

.pa-header__inner,
.hv2-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

@media (min-width: 1230px) {

    .pa-header__inner,
    .hv2-header__inner {
        padding: 0 40px;
        height: 80px;
    }
}

.hv2-header__logo {
    flex-shrink: 0;
}

.hv2-header__logo-img {
    height: auto;
    width: 140px;
    filter: brightness(0) invert(1);
    display: block;
    flex-shrink: 0;
}

@media (min-width: 1230px) {
    .hv2-header__logo-img {
        height: 40px;
    }
}

.hv2-header__nav {
    display: none;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: flex-start;
}

@media (min-width: 1230px) {
    .hv2-header__nav {
        display: flex;
    }
}

.hv2-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.hv2-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1.5;
}

.hv2-nav__link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hv2-nav__chevron {
    width: 13px;
    height: 13px;
    margin-left: 2px;
    opacity: 0.75;
    transition: transform 0.22s ease;
}

.hv2-nav__item--has-dropdown:hover .hv2-nav__chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* ---- Base Dropdown ---- */
.hv2-nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 220px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06), 0 24px 56px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.hv2-nav__dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

/* .hv2-nav__dropdown::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.08));
} */

.hv2-nav__item--has-dropdown:hover .hv2-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.hv2-nav__dropdown:not(.hv2-nav__dropdown--mega) {
    min-width: 400px;
    padding: 24px;
}

.hv2-nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    line-height: 1.5;
}

.hv2-nav__dropdown-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pa-primary);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.hv2-nav__dropdown-item:hover {
    background: #f0faf4;
    color: var(--pa-primary);
}

.hv2-nav__dropdown-item:hover::before {
    opacity: 1;
}

.hv2-nav__dropdown--mega {
    min-width: 600px;
    padding: 28px;
    left: 0;
    transform: translateY(-6px);
    border-radius: 20px;
}

.hv2-nav__dropdown--mega::after {
    left: 80px;
    transform: none;
}

.hv2-nav__item--has-dropdown:hover .hv2-nav__dropdown--mega {
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .hv2-nav__dropdown--mega {
        min-width: 580px;
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
    }

    .hv2-nav__dropdown--mega::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hv2-nav__item--has-dropdown:hover .hv2-nav__dropdown--mega {
        transform: translateX(-50%) translateY(0);
    }
}

.hv2-nav__mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.hv2-nav__mega-col {
    padding: 0 24px;
    border-right: none;
}

.hv2-nav__mega-col:first-child {
    padding-left: 0;
}

.hv2-nav__mega-col:last-child {
    padding-right: 0;
    border-right: none;
}

.hv2-nav__mega-header {
    margin-bottom: 14px;
}

.hv2-nav__mega-icon-wrap {
    display: none;
}

.hv2-nav__mega-icon {
    display: none;
}

.hv2-nav__mega-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pa-primary);
    text-transform: uppercase;
    letter-spacing: 0;
    display: block;
}

.hv2-nav__mega-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hv2-nav__mega-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.hv2-nav__mega-link::before {
    display: none;
}

.hv2-nav__mega-link:hover {
    background: #EDF6EE;
    color: #049551;
    font-weight: 400;
    padding-left: 5px;
}

.hv2-nav__mega-link:focus:not(:hover) {
    color: #333;
    text-decoration: none;
}

.hv2-nav__link {
    letter-spacing: 0.04em;
}

/* Mega menu banner — title + separator at top of all mega/wide dropdowns */
.hv2-nav__mega-banner {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.hv2-nav__mega-banner-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Wide dropdown — used for Program & Dukungan (2-col, no column headers) */
.hv2-nav__dropdown--wide {
    min-width: 480px;
    padding: 24px 28px;
}

.hv2-nav__two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 0;
}

.hv2-nav__two-col-grid .hv2-nav__mega-link {
    font-size: 15px;
    font-weight: 400;
    color: #334155;
    padding: 11px 10px;
    border-radius: 8px;
}

.hv2-nav__two-col-grid .hv2-nav__mega-link:hover {
    background: #EDF6EE;
    color: #049551;
    font-weight: 400;
    padding-left: 5px;
}

.hv2-lang {
    position: relative;
    display: flex;
    align-items: center;
}

.hv2-lang__trigger {
    background: var(--pa-primary);
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hv2-lang__trigger:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hv2-lang__flag {
    width: 35px;
    height: 35px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hv2-lang__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px;
    z-index: 1100;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.hv2-lang__dropdown.is-open {
    display: flex;
}

.hv2-lang__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.15s;
}

.hv2-lang__option:hover {
    background: var(--pa-primary-light);
    color: var(--pa-primary);
}

.hv2-lang__option--active {
    background: #f1f5f9;
    color: var(--pa-primary);
}

.hv2-lang__option-flag {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hv2-header__user-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.hv2-header__user-link:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* User dropdown — Dashboard / Edit Account / Logout */
.hv2-header__user {
    position: relative;
}

.hv2-header__user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    font-family: inherit;
    transition: background 0.2s ease;
}

.hv2-header__user-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hv2-header__user-chevron {
    width: 14px;
    height: 14px;
    stroke: #fff;
    transition: transform 0.18s ease;
}

.hv2-header__user.is-open .hv2-header__user-chevron,
.hv2-header__user.is-open .hv2-header__user-chev {
    transform: rotate(180deg);
}

.hv2-header__user-chev {
    transition: transform 0.18s ease;
}

.hv2-header__user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px;
    z-index: 1100;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.hv2-header__user-dropdown.is-open {
    display: flex;
}

.hv2-header__user-option {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.hv2-header__user-option:hover {
    background: var(--pa-primary-light);
    color: var(--pa-primary);
}

.hv2-header__user-option:focus:not(:hover) {
    color: #333;
    text-decoration: none;
}

.hv2-header__user-option--danger {
    color: #b91c1c;
}

.hv2-header__user-option--danger:hover {
    background: #fef2f2;
    color: #991b1b;
}

.hv2-header__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.hv2-header__username {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.hv2-header__user-link:hover .hv2-header__username {
    opacity: 1;
}

.hv2-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 1230px) {

    .hv2-header__actions .pa-btn,
    .hv2-header__user-link,
    .hv2-header__user {
        display: none;
    }
}

@media (min-width: 1230px) {
    .hv2-header__actions {
        gap: 16px;
    }
}

.hv2-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}

.hv2-header__hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 1230px) {
    .hv2-header__hamburger {
        display: none;
    }
}

/* ==========================================================================
   GLOBAL DRAWER / MOBILE NAV
   ========================================================================== */
.hv2-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.hv2-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.hv2-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 85vw);
    background: #fff;
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.hv2-drawer.is-open {
    transform: translateX(0);
}

.hv2-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--pa-primary);
}

.hv2-drawer__logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hv2-drawer__close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hv2-drawer__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hv2-drawer__nav {
    padding: 16px 16px 0;
    flex: 1;
}

.hv2-drawer__top-link {
    display: block;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.15s;
    line-height: 1.5;
}

.hv2-drawer__top-link:hover {
    color: var(--pa-primary);
}

.hv2-drawer__top-link:focus:not(:hover) {
    color: #333;
    text-decoration: none;
}

.hv2-drawer__group {
    border-bottom: 1px solid #f1f5f9;
}

.hv2-drawer__group-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.15s;
    line-height: 1.5;
}

.hv2-drawer__group-title:hover {
    color: var(--pa-primary);
}

.hv2-drawer__chevron {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.hv2-drawer__chevron.is-rotated {
    transform: rotate(180deg);
}

.hv2-drawer__sub {
    display: none;
    padding: 0 0 8px 24px;
}

.hv2-drawer__sub.is-open {
    display: block;
}

.hv2-drawer__link {
    display: block;
    padding: 10px 8px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    line-height: 1.5;
}

.hv2-drawer__link:hover {
    background: var(--pa-primary-light);
    color: var(--pa-primary);
    padding-left: 16px;
}

.hv2-drawer__link:focus:not(:hover) {
    color: #333;
    text-decoration: none;
}

.hv2-drawer__sub-heading {
    padding: 12px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pa-primary);
    letter-spacing: 0.1em;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 8px;
    opacity: 0.8;
}

/* Logged-in user block inside drawer */
.hv2-drawer__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-top: 8px;
    background: #f8faf9;
    border-radius: 16px;
    margin-left: 16px;
    margin-right: 16px;
}

.hv2-drawer__user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
}

.hv2-drawer__user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hv2-drawer__user-name {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.hv2-drawer__user-link {
    font-size: 13px;
    color: var(--pa-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hv2-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
}

.hv2-drawer__lang {
    padding: 16px 24px 24px;
    border-top: 1px solid #f1f5f9;
}

.hv2-drawer__lang-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 12px;
}

.hv2-drawer__lang-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hv2-drawer__lang-opt {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.15s;
    line-height: 1.5;
}

.hv2-drawer__lang-opt img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hv2-drawer__lang-opt:hover,
.hv2-drawer__lang-opt--active {
    border-color: var(--pa-primary);
    color: var(--pa-primary);
    background: var(--pa-primary-light);
}

.hv2-header--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: none;
    pointer-events: none;
}

.hv2-header__inner--minimal {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 2.4rem 4rem;
    gap: 1.6rem;
    position: relative;
}

@media (max-width: 1230px) {
    .hv2-header__inner--minimal {
        padding: 1.6rem 0;
    }
}

.hv2-header__inner--minimal .hv2-header__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hv2-header__inner--minimal .hv2-header__logo-img {
    height: 4.8rem;
    width: auto;
    display: block;
}

@media (max-width: 1230px) {
    .hv2-header__inner--minimal .hv2-header__logo-img {
        height: 3.4rem;
    }
}

.hv2-header__menu-pill {
    all: unset;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -10%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3.2rem 3.6rem 1.8rem;
    background: #29A46A;
    color: #fff;
    border-bottom-left-radius: 3.2rem;
    border-bottom-right-radius: 3.2rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 200;
}

.hv2-header__menu-pill::before,
.hv2-header__menu-pill::after {
    content: '';
    position: absolute;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    pointer-events: none;
}

.hv2-header__menu-pill::before {
    right: 100%;
    background: radial-gradient(circle at 0% 100%, transparent 2.4rem, #29A46A 2.4rem);
}

.hv2-header__menu-pill::after {
    left: 100%;
    background: radial-gradient(circle at 100% 100%, transparent 2.4rem, #29A46A 2.4rem);
}

.hv2-header__menu-pill:hover {
    transform: translate(-50%, -6%);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.hv2-header__menu-pill svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2.6;
    fill: none;
}

@media (max-width: 1230px) {

    .hv2-header--overlay {
        position: relative;
        background: var(--pa-primary);
        pointer-events: auto;
    }

    .hv2-header__inner--minimal {
        padding: 1.6rem 2rem;
        justify-content: flex-start;
        gap: 1rem;
    }

    .hv2-header__inner--minimal .hv2-header__logo-link {
        margin-right: auto;
    }

    .hv2-header__donate-pill {
        order: 1;
        padding: 0.9rem 1.8rem;
        font-size: 1.3rem;
        width: auto;
    }

    .hv2-header__menu-area {
        order: 2;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        margin-left: 0;
        height: auto;
        width: auto;
    }

    .hv2-header__menu-pill {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        padding: 0.6rem;
        background: transparent;
        border-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        box-shadow: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hv2-header__menu-pill svg {
        width: 28px;
        height: 28px;
        stroke: #fff;
    }

    /* Hide the concave-ear pseudos that only make sense on the centered pill */
    .hv2-header__menu-pill::before,
    .hv2-header__menu-pill::after {
        display: none;
    }

    .hv2-header__menu-pill:hover {
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.12);
    }
}

/* Right: white Donasi pill */
.hv2-header__donate-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 2.4rem;
    background: #fff;
    color: var(--pa-primary, #049551);
    border-radius: 999px;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    line-height: 1;
    width: 14.8rem;
}

.hv2-header__donate-pill:hover {
    background: var(--pa-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    color: white;
}

@media (max-width: 1230px) {
    .hv2-header__donate-pill {
        display: none;
    }
}

.hv2-header__user-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.6rem 0.6rem 0.6rem;
    background: transparent;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
    max-width: 24rem;
}

@media (max-width: 1230px) {
    .hv2-header__user-pill {
        display: none;
    }
}

.hv2-header__user-pill:hover,
.hv2-header__user-pill:focus-visible {
    color: #fff;
    text-decoration: none;
}

.hv2-header__user-avatar {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
}

.hv2-header__user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hv2-header__user-name {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14rem;
}

.hv2-header__user-chev {
    width: 1.4rem;
    height: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    opacity: 0.85;
}

@media (max-width: 1230px) {
    .hv2-header__user-pill {
        padding: 0.4rem 1.2rem 0.4rem 0.4rem;
        gap: 0.8rem;
    }

    .hv2-header__user-avatar {
        width: 3.2rem;
        height: 3.2rem;
    }

    .hv2-header__user-name {
        font-size: 1.3rem;
        max-width: 10rem;
    }
}

/* Push the page main content up so the absolute header overlays the hero */
body.home-v2-page main#main-content {
    margin-top: 0;
}

/* ──────────────────────────────────────────────────────────
   Menu pill: hover animation — text swap + footprint trail
   ────────────────────────────────────────────────────────── */
.hv2-header__menu-area {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -20rem;
    /* half of width — centers without transform so the fixed pill isn't trapped */
    width: 40rem;
    height: 10rem;
    pointer-events: none;
    z-index: 5;
}

.hv2-header__menu-area .hv2-header__menu-pill {
    pointer-events: auto;
}

/* Icon / text swap inside the pill */
.hv2-header__menu-pill {
    flex-direction: column;
}

.hv2-header__menu-icon,
.hv2-header__menu-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hv2-header__menu-icon {
    width: 36px;
    height: 36px;
    margin-top: -1rem;
}

.hv2-header__menu-icon svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
    stroke-width: 2.6;
    fill: none;
}

/* Close (X) icon — hidden on desktop, only used on mobile (see media query below) */
.hv2-header__menu-icon-close {
    display: none;
}

.hv2-header__menu-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) scale(0.7);
    opacity: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
}

.hv2-header__menu-pill:hover .hv2-header__menu-icon {
    opacity: 0;
    transform: scale(0.6);
}

.hv2-header__menu-pill:hover .hv2-header__menu-text {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1);
}

.hv2-header__footprint {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: rotate(var(--rot, 0deg)) scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

@keyframes footprint-walk {

    /* Foot lifted, approaching */
    0% {
        opacity: 0;
        transform: var(--flip, scaleX(1)) rotate(var(--rot, 0deg)) scale(0.55);
    }

    /* Heel strike — foot plants fast with a slight press-down overshoot */
    6% {
        opacity: 1;
        transform: var(--flip, scaleX(1)) rotate(var(--rot, 0deg)) scale(1.08);
    }

    /* Weight settles onto the print */
    12% {
        transform: var(--flip, scaleX(1)) rotate(var(--rot, 0deg)) scale(1);
    }

    /* Planted — print stays while the walk continues */
    45% {
        opacity: 1;
        transform: var(--flip, scaleX(1)) rotate(var(--rot, 0deg)) scale(1);
    }

    /* Toe-off — foot lifts and the print lightens away */
    55% {
        opacity: 0;
        transform: var(--flip, scaleX(1)) rotate(var(--rot, 0deg)) scale(0.85);
    }

    100% {
        opacity: 0;
    }
}

.hv2-header__menu-area:has(.hv2-header__menu-pill:hover) .hv2-header__footprint {
    animation: footprint-walk 7s ease-out infinite;
    animation-delay: var(--delay, 0ms);
}

.hv2-header__footprint--1 {
    width: 8px;
    height: 8px;
    top: 1rem;
    left: 13rem;
    --delay: 0ms;
    background-image: url('../svg/footprints/footprint-1.svg');
}

.hv2-header__footprint--2 {
    width: 11px;
    height: 11px;
    top: 2.5rem;
    left: 12.8rem;
    --delay: 500ms;
    /* 1 × 500 */
    --flip: scaleX(-1);
    background-image: url('../svg/footprints/footprint-2.svg');
    transform: var(--flip) rotate(var(--rot)) scale(0.9);
}

.hv2-header__footprint--3 {
    width: 14px;
    height: 14px;
    top: 4.8rem;
    left: 13.2rem;
    --delay: 1000ms;
    /* 2 × 500 */
    background-image: url('../svg/footprints/footprint-3.svg');
}

.hv2-header__footprint--4 {
    width: 18px;
    height: 18px;
    top: 6.7rem;
    left: 15rem;
    --delay: 1500ms;
    /* 3 × 500 */
    background-image: url('../svg/footprints/footprint-4.svg');
}

.hv2-header__footprint--5 {
    width: 22px;
    height: 22px;
    top: 7.2rem;
    right: 18.5rem;
    --delay: 2000ms;
    /* 4 × 500 */
    --flip: scaleX(-1);
    --rot: 180deg;
    background-image: url('../svg/footprints/footprint-5.svg');
}

.hv2-header__footprint--6 {
    width: 26px;
    height: 26px;
    top: 6rem;
    right: 13.5rem;
    --delay: 2500ms;
    /* 5 × 500 */
    background-image: url('../svg/footprints/footprint-6.svg');
}

.hv2-header__footprint--7 {
    width: 30px;
    height: 30px;
    top: 3.5rem;
    right: 11.5rem;
    --delay: 3000ms;
    /* 6 × 500 */
    --flip: scaleX(-1);
    --rot: -15deg;
    background-image: url('../svg/footprints/footprint-7.svg');
}

.hv2-header__footprint--8 {
    width: 34px;
    height: 34px;
    top: 0.5rem;
    right: 10.5rem;
    --delay: 3500ms;
    /* 7 × 500 */
    background-image: url('../svg/footprints/footprint-8.svg');
}

@media (max-width: 1230px) {

    /* Hide footprints + text-on-hover on mobile (touch — no hover state) */
    .hv2-header__footprint {
        display: none;
    }

    .hv2-header__menu-text {
        display: none;
    }

    .hv2-header__menu-area {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: auto;
        height: auto;
        pointer-events: auto;
    }

    .hv2-header__menu-pill {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        padding: 0.6rem;
        background: transparent;
        border-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        box-shadow: none;
        flex-direction: row;
    }

    .hv2-header__menu-icon {
        margin-top: 0;
        width: 28px;
        height: 28px;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    /* Mobile: overlay the X icon on top of the hamburger so the pill keeps its size */
    .hv2-header__menu-pill {
        position: relative;
    }

    .hv2-header__menu-icon-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 28px;
        height: 28px;
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .hv2-header__menu-icon-close svg {
        width: 100%;
        height: 100%;
        stroke: #fff;
        stroke-width: 2.6;
        fill: none;
    }

    /* Swap to X on hover, while pressed, or when the full menu is open */
    .hv2-header__menu-pill:hover .hv2-header__menu-icon,
    .hv2-header__menu-pill:active .hv2-header__menu-icon,
    .hv2-header__menu-pill.is-open .hv2-header__menu-icon {
        opacity: 0;
        transform: scale(0.6);
    }

    .hv2-header__menu-pill:hover .hv2-header__menu-icon-close,
    .hv2-header__menu-pill:active .hv2-header__menu-icon-close,
    .hv2-header__menu-pill.is-open .hv2-header__menu-icon-close {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.hv2-fullmenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90vh;
    z-index: 9999;
    background: var(--pa-primary);
    color: #fff;
    overflow: visible;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    /* closed menu must not intercept clicks (e.g. over the footer logo) */
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1230px) {
    .hv2-fullmenu {
        height: 100vh;
    }
}

@media (min-width: 768px) and (max-width: 1230px) {
    .hv2-fullmenu {
        height: auto;
        max-height: 100vh;
    }
}

.hv2-fullmenu.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    /* interactive only while open */
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html.fm-preopen,
html.fm-preopen body {
    overflow: hidden;
}

html.fm-preopen .hv2-fullmenu {
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
}

.hv2-fullmenu__inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 5rem 2rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

/* Decorative clouds — scattered subtly behind content */
.hv2-fullmenu__cloud {
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
    color: #fff;
}

.hv2-fullmenu__cloud--1 {
    top: 8rem;
    left: 55rem;
    width: 18rem;
}

.hv2-fullmenu__cloud--2 {
    top: 5rem;
    right: 3rem;
    width: 14rem;
}

.hv2-fullmenu__cloud--3 {
    bottom: 20rem;
    left: 20rem;
    width: 15rem;
}

.hv2-fullmenu__cloud svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Logo top-left */
.hv2-fullmenu__logo {
    flex-shrink: 0;
    display: inline-flex;
    position: relative;
    z-index: 2;
    /* stay above .hv2-fullmenu__main (margin-top:-10rem) so the logo link is clickable */
}

.hv2-fullmenu__logo img {
    height: 6.4rem;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.hv2-fullmenu__main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    min-height: 0;
    margin-top: -10rem;
}

.hv2-fullmenu__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 2rem 3rem;
    height: 100%;
    padding: 5rem 3rem 9rem 0;
    position: relative;
}

.hv2-fullmenu__nav-main,
.hv2-fullmenu__nav-submenu.is-active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
    gap: 3rem;
    align-items: stretch;
    align-self: center;
}

.hv2-fullmenu__nav-submenu {
    display: none;
}

.hv2-fullmenu.is-submenu-active .hv2-fullmenu__nav-main {
    display: none;
}

.hv2-fullmenu__col {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.hv2-fullmenu a:hover {
    color: #fff;
}

.hv2-fullmenu a:focus:not(:hover) {
    color: #fff;
    text-decoration: none;
}

.hv2-fullmenu .hv2-fullmenu__login:focus:not(:hover) {
    color: var(--pa-primary);
}

/* Footer spans both columns at the bottom of the nav grid */
.hv2-fullmenu__nav .hv2-fullmenu__footer {
    grid-column: 1 / -1;
    align-self: end;
}

.hv2-fullmenu__link {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    color: #fff !important;
    font-size: 2.4rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    background: transparent;
    padding-left: 0;
}

.hv2-fullmenu__link:hover {
    color: #fff;
    text-decoration: underline;
}

.hv2-fullmenu__link svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 0.4;
    fill: none;
}

.hv2-fullmenu__link svg.hv2-fullmenu__ico--wide {
    transform: scale(0.89);
}

.hv2-fullmenu__link svg.hv2-fullmenu__ico--widest {
    transform: scale(0.8);
}

.hv2-fullmenu__trigger svg,
.hv2-fullmenu__back svg {
    stroke-width: 2.4;
}

.hv2-fullmenu__nav-submenu .hv2-fullmenu__link:not(.is-heading) {
    font-size: 2rem;
}

.hv2-fullmenu__link.is-heading {
    cursor: default;
    pointer-events: none;
    font-size: 2.4rem;
    font-weight: 500;
}

.hv2-fullmenu__back {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0.6rem 2.4rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: auto;
    width: fit-content;
    padding: 6px 24px;
}

.hv2-fullmenu__back:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-4px);
}

.hv2-fullmenu__back svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* Right side: kids hero card */
.hv2-fullmenu__hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
}

.hv2-fullmenu__hero-photo {
    width: 100%;
    max-width: 49.6rem;
    margin-bottom: -8rem;
    position: relative;
    z-index: 1;
}

.hv2-fullmenu__hero-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hv2-fullmenu__hero-card {
    background: #fff;
    color: #333;
    border-radius: 24px;
    padding: 9rem 3rem 2.4rem;
    width: 100%;
    max-width: 56.4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 0;
}

.hv2-fullmenu__hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.hv2-fullmenu__hero-desc {
    font-size: 1.6rem;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 2rem;
}

.hv2-fullmenu__hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.hv2-fullmenu__hero-btn {
    padding: 1.6rem 2.4rem;
    border-radius: 999px;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex: 1;
    border: 1px solid var(--pa-primary);
}

.hv2-fullmenu__hero-btn--outline {
    background: #fff;
    color: var(--pa-primary);
    border: 1.5px solid var(--pa-primary);
}

.hv2-fullmenu__hero-btn--outline:hover {
    background: #f0fbf3;
}

.hv2-fullmenu__hero-btn--primary {
    background: var(--pa-primary);
    color: #fff;
}

.hv2-fullmenu__hero-btn--primary:hover {
    background: white;
    color: var(--pa-primary);
}

.hv2-fullmenu__link--mobile-login {
    display: none;
}

.hv2-fullmenu__hero-trust {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    color: #6b7280;
    margin: 0;
}

.hv2-fullmenu__hero-trust svg {
    width: 20px;
    height: 20px;
    color: var(--pa-primary);
    stroke: var(--pa-primary);
    fill: none;
}

/* Footer — login + lang + social */
.hv2-fullmenu__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.hv2-fullmenu__footer-left {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
}

.hv2-fullmenu__login {
    background: #fff;
    color: var(--pa-primary);
    padding: 1.4rem 2.4rem;
    border-radius: 999px;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 148px;
    text-align: center;
    border: 1px solid var(--pa-primary);
}

.hv2-fullmenu__login:hover {
    color: white;
    background: var(--pa-primary);
    border: 1px solid white;
}

.hv2-fullmenu__flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hv2-fullmenu__lang {
    position: relative;
    display: inline-flex;
}

.hv2-fullmenu__lang-trigger {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    border-radius: 50%;
}

.hv2-fullmenu__lang-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.hv2-fullmenu__lang-label,
.hv2-fullmenu__lang-chevron {
    display: none;
}

.hv2-fullmenu__lang-trigger[aria-expanded="true"] .hv2-fullmenu__lang-chevron svg {
    transform: rotate(180deg);
}

.hv2-fullmenu__lang-dropdown {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 8px;
    z-index: 1100;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.hv2-fullmenu__lang-dropdown.is-open {
    display: flex;
}

.hv2-fullmenu__lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.hv2-fullmenu__lang-option:hover {
    background: var(--pa-primary-light);
    color: var(--pa-primary);
}

.hv2-fullmenu__lang-option--active {
    background: #f1f5f9;
    color: var(--pa-primary);
}

.hv2-fullmenu .hv2-fullmenu__lang-option:hover {
    color: var(--pa-primary);
}

.hv2-fullmenu .hv2-fullmenu__lang-option:focus:not(:hover) {
    color: #333;
    text-decoration: none;
}

.hv2-fullmenu .hv2-fullmenu__lang-option--active:focus:not(:hover) {
    color: var(--pa-primary);
}

.hv2-fullmenu__lang-option-flag {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hv2-fullmenu__social {
    display: inline-flex;
    gap: 2rem;
}

.hv2-fullmenu__social a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.hv2-fullmenu__social svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
    transition: fill 0.15s ease;
}

.hv2-fullmenu__social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hv2-fullmenu__social a[data-social="instagram"]:hover {
    color: #E4405F;
}

.hv2-fullmenu__social a[data-social="facebook"]:hover {
    color: #1877F2;
}

.hv2-fullmenu__social a[data-social="x"]:hover {
    color: #000;
}

.hv2-fullmenu__social a[data-social="linkedin"]:hover {
    color: #0A66C2;
}

.hv2-fullmenu__social a[data-social="youtube"]:hover {
    color: #FF0000;
}

.hv2-fullmenu__social a[data-social="youtube"]:hover svg polygon {
    fill: #fff;
}

/* ── BOTTOM-CENTER CLOSE PILL: inverted canopy + footprint trail ── */
.hv2-fullmenu__close-area {
    /* Sits at the bottom of the panel, extending below it */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(95%);
    width: 40rem;
    height: 12rem;
    pointer-events: none;
    z-index: 10;
}

/* Full-viewport-width blur layer behind the close pill + footprints */
.hv2-fullmenu__close-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: none;
    z-index: -1;
}

.hv2-fullmenu__close-pill {
    all: unset;
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 2.5rem 2rem;
    background: var(--pa-primary);
    color: #fff;
    border-bottom-left-radius: 3.2rem;
    border-bottom-right-radius: 3.2rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

/* Concave ears — same technique as the header menu pill */
.hv2-fullmenu__close-pill::before,
.hv2-fullmenu__close-pill::after {
    content: '';
    position: absolute;
    top: 0;
    width: 3rem;
    height: 3rem;
    pointer-events: none;
}

.hv2-fullmenu__close-pill::before {
    right: 100%;
    background: radial-gradient(circle at 0% 100%, transparent 3rem, var(--pa-primary) 3rem);
}

.hv2-fullmenu__close-pill::after {
    left: 100%;
    background: radial-gradient(circle at 100% 100%, transparent 3rem, var(--pa-primary) 3rem);
}

.hv2-fullmenu__close-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Footprints around the close pill — arc trail matching header footprint pattern */
.hv2-fullmenu__close-footprint {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: rotate(var(--rot, 0deg)) scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.85)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.hv2-fullmenu.is-open .hv2-fullmenu__close-footprint {
    animation: footprint-walk 7s ease-out infinite;
    animation-delay: var(--delay, 0ms);
}

.hv2-fullmenu__close-footprint--1 {
    width: 8px;
    height: 8px;
    top: 1rem;
    left: 13rem;
    --delay: 150ms;
    /* 0 + 150 */
    background-image: url('../svg/footprints/footprint-1.svg');
}

.hv2-fullmenu__close-footprint--2 {
    width: 11px;
    height: 11px;
    top: 2.5rem;
    left: 13rem;
    --delay: 650ms;
    /* 150 + 1 × 500 */
    --flip: scaleX(-1);
    --rot: 5deg;
    background-image: url('../svg/footprints/footprint-2.svg');
    transform: var(--flip) rotate(var(--rot)) scale(0.9);
}

.hv2-fullmenu__close-footprint--3 {
    width: 14px;
    height: 14px;
    top: 4.8rem;
    left: 13.5rem;
    --delay: 1150ms;
    /* 150 + 2 × 500 */
    background-image: url('../svg/footprints/footprint-3.svg');
}

.hv2-fullmenu__close-footprint--4 {
    width: 18px;
    height: 18px;
    top: 6.2rem;
    left: 15.5rem;
    --delay: 1650ms;
    /* 150 + 3 × 500 */
    background-image: url('../svg/footprints/footprint-4.svg');
}

.hv2-fullmenu__close-footprint--5 {
    width: 22px;
    height: 22px;
    top: 6.2rem;
    right: 18.5rem;
    --delay: 2150ms;
    /* 150 + 4 × 500 */
    --flip: scaleX(-1);
    --rot: 180deg;
    background-image: url('../svg/footprints/footprint-5.svg');
}

.hv2-fullmenu__close-footprint--6 {
    width: 26px;
    height: 26px;
    top: 6rem;
    right: 14.5rem;
    --delay: 2650ms;
    /* 150 + 5 × 500 */
    background-image: url('../svg/footprints/footprint-6.svg');
}

.hv2-fullmenu__close-footprint--7 {
    width: 30px;
    height: 30px;
    top: 3.5rem;
    right: 12.5rem;
    --delay: 3150ms;
    /* 150 + 6 × 500 */
    --flip: scaleX(-1);
    --rot: -15deg;
    background-image: url('../svg/footprints/footprint-7.svg');
}

.hv2-fullmenu__close-footprint--8 {
    width: 34px;
    height: 34px;
    top: 0.5rem;
    right: 11rem;
    --delay: 3650ms;
    /* 150 + 7 × 500 */
    background-image: url('../svg/footprints/footprint-8.svg');
}

/* Mobile — stack content, simplify */
@media (max-width: 1230px) {
    .hv2-fullmenu__main {
        grid-template-columns: 1fr;
    }

    .hv2-fullmenu__hero {
        margin-top: 4rem;
    }
}

@media (max-width: 1230px) {
    .hv2-fullmenu__inner {
        padding: 3rem 2rem 14rem;
    }

    .hv2-fullmenu__link {
        font-size: 1.8rem;
    }

    .hv2-fullmenu__nav {
        grid-template-columns: 1fr;
    }

    .hv2-fullmenu__col {
        gap: 2.4rem;
    }

    .hv2-fullmenu__hero-photo {
        max-width: 22rem;
        margin-bottom: -6rem;
    }

    .hv2-fullmenu__hero-card {
        padding: 8rem 2rem 2rem;
    }

    .hv2-fullmenu__hero-title {
        font-size: 1.8rem;
    }

    .hv2-fullmenu__footer {
        flex-direction: column;
        gap: 1.6rem;
        align-items: flex-start;
    }

    .hv2-fullmenu__close-footprint {
        display: none;
    }

    .hv2-fullmenu__close-pill {
        padding: 1.2rem 3.6rem 1.6rem;
    }

    .hv2-fullmenu__close-pill::before,
    .hv2-fullmenu__close-pill::after {
        width: 2rem;
        height: 2rem;
    }

    .hv2-fullmenu__close-pill::before {
        background: radial-gradient(circle at 0% 100%, transparent 2rem, var(--pa-primary) 2rem);
    }

    .hv2-fullmenu__close-pill::after {
        background: radial-gradient(circle at 100% 100%, transparent 2rem, var(--pa-primary) 2rem);
    }
}

.hv2-fullmenu__mobile-close {
    display: none;
}

/* Mobile adjustments for Full Menu */
@media (max-width: 1230px) {
    .hv2-fullmenu__inner {
        padding: 2rem 2rem;
        overflow-y: auto;
    }

    .hv2-fullmenu__cloud {
        display: none !important;
    }

    .hv2-fullmenu__logo img {
        height: 4.8rem;
    }

    .hv2-fullmenu__mobile-close {
        display: flex;
        position: absolute;
        top: 2.8rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
        background: rgba(0, 0, 0, 0.15);
        border: none;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
        z-index: 20;
    }

    .hv2-fullmenu__mobile-close svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
        stroke-width: 2.5;
        fill: none;
    }

    .hv2-fullmenu__close-area {
        display: none !important;
    }

    .hv2-fullmenu__main {
        display: flex;
        flex-direction: column;
        margin-top: 2.5rem;
        gap: 1rem;
    }

    .hv2-fullmenu__nav {
        display: contents;
    }

    .hv2-fullmenu__nav-main {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-self: stretch;
    }

    .hv2-fullmenu__nav-submenu.is-active {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-self: stretch;
    }

    .hv2-fullmenu__nav-submenu.is-active .hv2-fullmenu__col {
        display: contents;
    }

    .hv2-fullmenu__nav-submenu.is-active .hv2-fullmenu__link.is-heading {
        order: 1;
        font-size: 2.4rem;
        margin-bottom: 0.5rem;
    }

    .hv2-fullmenu__nav-submenu.is-active .hv2-fullmenu__link:not(.is-heading) {
        order: 2;
        padding-left: 1.5rem;
        font-size: 2rem;
    }

    .hv2-fullmenu__nav-submenu.is-active .hv2-fullmenu__back {
        order: 3;
        margin-top: 1.5rem;
        align-self: flex-start;
        padding: 1.2rem 2rem;
    }

    .hv2-fullmenu__col {
        gap: 2.3rem;
    }

    .hv2-fullmenu__link {
        font-size: 2rem;
        font-weight: 600;
        justify-content: flex-start;
        width: 100%;
    }

    .hv2-fullmenu__link svg {
        width: 20px;
        height: 20px;
    }

    .hv2-fullmenu__footer {
        display: contents;
    }

    .hv2-fullmenu__footer-left {
        order: 2;
        width: 100%;
        border-top: none;
        padding-top: 0;
    }

    .hv2-fullmenu__login {
        display: none !important;
    }

    /* Show Dashboard / Login as a regular menu link on mobile. */
    .hv2-fullmenu__link--mobile-login {
        display: inline-flex;
    }

    .hv2-fullmenu__footer-left {
        display: contents;
    }

    .hv2-fullmenu__lang {
        position: absolute;
        top: 2.8rem;
        right: 7.2rem;
        z-index: 20;
        display: inline-flex;
        align-items: center;
    }

    .hv2-fullmenu__lang-trigger {
        display: inline-flex;
        align-items: center;
        padding: 0;
        line-height: 0;
    }

    .hv2-fullmenu__flag {
        display: block !important;
        width: 4rem;
        height: 4rem;
        border-radius: 20%;
        border-width: 1px;
    }

    /* Options open downward, aligned to the flag's right edge so they stay on-screen. */
    .hv2-fullmenu__lang-dropdown {
        top: calc(100% + 8px);
        bottom: auto;
        left: auto;
        right: 0;
        min-width: 180px;
        width: max-content;
        max-width: 70vw;
    }

    .hv2-fullmenu__hero {
        order: 3;
        margin-top: 1.6rem;
        align-self: stretch;
    }

    .hv2-fullmenu__hero-photo,
    .hv2-fullmenu__hero-title,
    .hv2-fullmenu__hero-desc {
        display: none !important;
    }

    .hv2-fullmenu__hero-card {
        background: transparent;
        padding: 0;
        box-shadow: none;
        max-width: none;
    }

    .hv2-fullmenu__hero-cta {
        flex-direction: column;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
        width: 100%;
    }

    .hv2-fullmenu__hero-btn {
        width: 100%;
        font-size: 1.6rem;
        padding: 1.2rem 2.4rem;
        background: #fff;
        color: var(--pa-primary);
        box-shadow: none;
        border: none;
    }

    .hv2-fullmenu__hero-btn--primary:hover {
        background: #f0fbf3;
        color: var(--pa-primary);
    }

    .hv2-fullmenu__hero-trust {
        color: #fff;
        font-size: 1.6rem;
    }

    .hv2-fullmenu__hero-trust svg {
        color: #fff;
        stroke: #fff;
    }

    .hv2-fullmenu__social {
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 0;
        gap: 1.6rem;
    }

    .hv2-fullmenu.is-submenu-active .hv2-fullmenu__hero,
    .hv2-fullmenu.is-submenu-active .hv2-fullmenu__footer {
        display: none !important;
    }
}

/* Tablet — bump font/button sizes & spacing so content doesn't feel cramped */
@media (min-width: 768px) and (max-width: 1230px) {
    .hv2-fullmenu__inner {
        padding: 3rem 3rem;
    }

    .hv2-fullmenu__main {
        margin-top: 4rem;
        gap: 1.6rem;
    }

    .hv2-fullmenu__link {
        font-size: 2.8rem;
    }

    .hv2-fullmenu__nav-main,
    .hv2-fullmenu__nav-submenu.is-active {
        gap: 2.3rem;
    }

    .hv2-fullmenu__col {
        gap: 2.2rem;
    }

    .hv2-fullmenu__hero-cta {
        gap: 1.6rem;
    }

    .hv2-fullmenu__hero-btn {
        font-size: 2.4rem;
        padding: 1.8rem 2.4rem;
    }

    .hv2-fullmenu__hero-trust {
        font-size: 1.8rem;
    }

    .hv2-fullmenu__social {
        gap: 2rem;
        margin-top: 2.4rem;
    }
}

.hv2-header__lang {
    display: none;
    position: relative;
}

@media (max-width: 1230px) {
    .hv2-header__menu-area {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;
    }

    .hv2-header__lang {
        display: inline-flex;
        align-items: center;
    }

    .hv2-header__lang-trigger {
        display: none;
        align-items: center;
        justify-content: center;
        width: 3.6rem;
        height: 3.6rem;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        overflow: hidden;
        transition: background 0.18s ease, transform 0.1s ease;
    }

    .hv2-header__lang-trigger:hover {
        background: rgba(255, 255, 255, 0.32);
    }

    .hv2-header__lang-trigger:active {
        transform: scale(0.95);
    }

    .hv2-header__lang-flag {
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }

    .hv2-header__lang-dropdown {
        position: absolute;
        top: calc(100% + 0.8rem);
        right: 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
        padding: 0.6rem;
        min-width: 18rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
        z-index: 1100;
    }

    .hv2-header__lang.is-open .hv2-header__lang-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hv2-header__lang-option {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.9rem 1.2rem;
        border-radius: 10px;
        color: #333;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        transition: background 0.12s ease;
    }

    .hv2-header__lang-option:hover {
        background: #f1f5f9;
        color: var(--pa-primary, #12A24A) !important;
    }

    .hv2-header__lang-option.is-active {
        background: #e8f6ea;
        color: var(--pa-primary, #12A24A);
        font-weight: 600;
    }

    .hv2-header__lang-option-flag {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }
}

/* ── Global toast notification (top-right, auto-dismiss) ── */
.pa-toast {
    position: fixed;
    top: 12px;
    right: 24px;
    /* Above the donate modal (z-index 10001) and its overlay — a toast is a
       top-level notification and must never be covered by a modal. */
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pa-toast.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.pa-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.pa-toast__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pa-toast--success .pa-toast__icon {
    color: var(--pa-primary, #049551);
}

.pa-toast--error .pa-toast__icon {
    color: #dc2626;
}

.pa-toast--warning .pa-toast__icon {
    color: #f59e0b;
}

.pa-toast__msg {
    flex: 1;
}

.pa-toast__close {
    background: transparent;
    border: 0;
    color: #64748b;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.pa-toast__close:hover {
    color: #333;
}

@media (max-width: 1230px) {
    .pa-toast {
        top: 8px;
        right: 16px;
        left: 16px;
        max-width: none;
        min-width: 0;
    }
}

.pa-dots-scroller {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pa-dots-scroller::-webkit-scrollbar {
    display: none;
}

.pa-dots-scroller.is-scrollable {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}