/* Explain: Styles for reusable UI components like buttons, navigation, and accessibility features. */
/* ---------- Buttons ---------- */
.btn-primary,
.btn-outline,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 122, 92, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-light:hover {
    background: #fff;
    color: var(--primary-color);
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 249, 244, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 2.7rem;
    height: 2.7rem;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-sub {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.brand-lak {
    color: var(--secondary-color);
    font-weight: 800;
}

.hl-lak {
    color: var(--accent-color);
    font-weight: 800;
}

.nav-link {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: var(--surface-color);
    color: var(--primary-color);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
}

.a11y-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem;
    border: none;
    border-radius: 12px;
    background: var(--surface-color);
    color: var(--primary-color);
    font-size: 1.45rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.a11y-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.a11y-badge:hover,
.a11y-badge:focus-visible {
    transform: scale(1.25);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 122, 92, 0.3);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 1.25rem 1.35rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-link {
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.mobile-link:hover {
    background: var(--surface-color);
    color: var(--primary-color);
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(17, 33, 26, 0.92) 0%, rgba(17, 33, 26, 0.68) 52%, rgba(17, 33, 26, 0.3) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #fff;
}

.hero-text {
    max-width: 44rem;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
    color: #bfe3d4;
}

.hero-title {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
}

.hero-lead {
    margin-top: 1.2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* ---------- Cards ---------- */
.card-soft {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-soft:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(35, 37, 31, 0.1);
    border-color: transparent;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: var(--surface-color);
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

.service-title {
    font-size: 1.15rem;
}

.service-desc {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mission-img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---------- Impact band ---------- */
.impact {
    background: var(--primary-color);
    color: #fff;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
}

.impact-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 2.9rem);
}

.impact-label {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* ---------- Help cards ---------- */
.help-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.9rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-card > a {
    margin-top: auto;
    align-self: flex-start;
}

/* ---------- Contact ---------- */
.contact-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(35, 37, 31, 0.07);
}

.form-status {
    font-size: 0.92rem;
    font-weight: 600;
}

.form-status-ok {
    color: var(--primary-color);
}

.form-status-err {
    color: #b0392b;
}

.contact-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: var(--surface-color);
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #1d2b24;
    color: rgba(255, 255, 255, 0.82);
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-title {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}