@charset "UTF-8";
/* ==========================================================================
   Union of Zakat House Employees — public site theme
   RTL Arabic, built on Bootstrap 5.3 (RTL build) + custom design layer.
   ========================================================================== */

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/tajawal-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/tajawal-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/tajawal-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/tajawal-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --green-950: #04291a;
    --green-900: #063d24;
    --green-800: #0a5230;
    --green-700: #0d6b3f;
    --green-600: #12854e;
    --green-500: #1a9b5d;
    --green-100: #dff0e6;
    --green-50: #f0f8f3;
    --red: #c8102e;
    --red-50: #fdeef0;
    --gold: #c9a227;
    --gold-100: #f7efd6;
    --sand: #f6f4ec;
    --sand-50: #fbfaf6;
    --ink: #12211a;
    --ink-2: #33443b;
    --muted: #66776d;
    --line: #e4e8e4;
    --white: #ffffff;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(6, 61, 36, .05), 0 6px 18px rgba(6, 61, 36, .05);
    --shadow: 0 8px 30px rgba(6, 61, 36, .09);
    --shadow-lg: 0 24px 60px rgba(6, 61, 36, .14);
    --bs-body-font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--green-950);
    margin-top: 0;
    line-height: 1.35;
}

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color .18s ease;
}

a:hover {
    color: var(--green-900);
}

img {
    max-width: 100%;
}

.container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
    padding-inline: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    inset-inline-start: 16px;
    z-index: 200;
    background: var(--green-900);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    transition: top .2s;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--green-950);
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 42px;
}

.topbar-contacts,
.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-contacts a,
.topbar-contacts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    white-space: nowrap;
}

.topbar-contacts a:hover {
    color: #fff;
}

.topbar-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .07);
    font-size: .8rem;
    transition: .18s;
}

.topbar-links a:hover {
    background: var(--gold);
    color: var(--green-950);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .22s ease;
}

.site-header.is-stuck {
    box-shadow: 0 12px 32px rgba(6, 61, 36, .09);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 88px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    color: var(--green-900);
}

.brand:hover {
    color: var(--green-900);
}

.brand img {
    height: 58px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text strong {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--green-900);
}

.brand-text small {
    font-size: .74rem;
    color: var(--muted);
    letter-spacing: .2px;
}

.main-nav {
    margin-inline: auto;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: .93rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: .16s;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--green-50);
    color: var(--green-800);
}

.nav-link.is-soon {
    color: var(--muted);
    cursor: default;
}

.nav-link .bi-chevron-down {
    font-size: .65rem;
    opacity: .55;
    transition: transform .2s;
}

.has-menu {
    position: relative;
}

.has-menu:hover > .nav-sub-toggle .bi-chevron-down {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    min-width: 240px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .18s ease;
    z-index: 80;
}

.has-menu:hover .submenu,
.has-menu.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.submenu a,
.submenu .nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: .88rem;
    font-weight: 500;
    white-space: normal;
}

.submenu a i,
.submenu .nav-link i {
    color: var(--green-600);
    font-size: .95rem;
}

.submenu a:hover {
    background: var(--green-50);
    color: var(--green-800);
}

.soon-badge {
    margin-inline-start: auto;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--gold-100);
    color: #7a5f0a;
    font-size: .65rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn {
    font-family: inherit;
    font-weight: 700;
    border-radius: 10px;
    padding: .55rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .18s ease;
}

.btn-brand {
    background: var(--green-700);
    border: 1px solid var(--green-700);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 107, 63, .18);
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--green-800);
    border-color: var(--green-800);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    background: transparent;
    border: 1px solid var(--green-700);
    color: var(--green-800);
}

.btn-outline-brand:hover {
    background: var(--green-50);
    color: var(--green-900);
}

.btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--green-950);
}

.btn-gold:hover {
    background: #d9b23c;
    border-color: #d9b23c;
    color: var(--green-950);
}

.btn-light-outline {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.btn-sm {
    padding: .4rem .9rem;
    font-size: .85rem;
    border-radius: 9px;
}

.btn-lg {
    padding: .8rem 1.6rem;
    font-size: 1rem;
    border-radius: 12px;
}

.account-menu .account-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 9px 5px 5px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: .18s;
}

.account-menu .account-btn:hover {
    border-color: var(--green-100);
    box-shadow: var(--shadow-sm);
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}

.account-dropdown {
    min-width: 230px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px;
}

.account-dropdown .dropdown-item,
.admin-topbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: .88rem;
    font-weight: 500;
}

.account-dropdown .dropdown-item i,
.admin-topbar .dropdown-item i {
    color: var(--green-600);
}

.account-dropdown .dropdown-item.text-danger i,
.admin-topbar .dropdown-item.text-danger i {
    color: inherit;
}

.dropdown-header {
    font-size: .78rem;
    color: var(--muted);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--green-900);
    border-radius: 2px;
    transition: .22s;
}

.mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-900);
    color: #fff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .5;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to left, rgba(4, 41, 26, .96) 0%, rgba(4, 41, 26, .9) 38%, rgba(4, 41, 26, .55) 72%, rgba(4, 41, 26, .35) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 90px 0 120px;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 162, 39, .45);
    border-radius: 999px;
    background: rgba(201, 162, 39, .12);
    color: #f0d27a;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.15rem, 4.4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 18px;
}

.hero h1 .accent {
    color: #f0d27a;
}

.hero-lead {
    max-width: 620px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.06rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: #f0d27a;
}

.hero-dots {
    position: absolute;
    inset-inline-start: 50%;
    bottom: 22px;
    transform: translateX(50%);
    z-index: 4;
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: .2s;
}

.hero-dots button.is-active {
    width: 24px;
    border-radius: 999px;
    background: var(--gold);
}

/* ---------- Stats ---------- */
.stats-strip {
    position: relative;
    z-index: 5;
    margin-top: -58px;
}

.stats-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-slogan {
    padding: 16px 22px 14px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, var(--green-50), #fff);
    text-align: center;
}

.stats-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
    color: var(--green-700);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.stats-slogan strong {
    display: block;
    color: var(--green-950);
    font-size: 1.15rem;
    font-weight: 800;
}

.stats-slogan small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .76rem;
}

.stat {
    padding: 22px 20px 24px;
    text-align: center;
    border-inline-end: 1px solid var(--line);
}

.stat:last-child {
    border-inline-end: 0;
}

.stat i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 1.15rem;
}

.stat b {
    display: block;
    color: var(--green-900);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat b.stat-word {
    max-width: 210px;
    margin: 0 auto;
    font-size: 1.28rem;
    line-height: 1.55;
}

.stat b small {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.stat span {
    color: var(--muted);
    font-size: .85rem;
}

/* ---------- Sections ---------- */
.section {
    padding: 84px 0;
}

.section-tight {
    padding: 56px 0;
}

.section-sand {
    background: var(--sand);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--green-600);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .4px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--green-950);
}

.section-sub {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .95rem;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green-700);
    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
}

.section-link:hover {
    gap: 11px;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: .2s ease;
}

a.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-100);
    box-shadow: var(--shadow);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 1.4rem;
    transition: .2s;
}

a.service-card:hover .service-icon {
    background: var(--green-700);
    color: #fff;
}

.service-card h3 {
    margin: 0 0 4px;
    font-size: 1.02rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.7;
}

.service-card.is-soon {
    opacity: .82;
}

/* ---------- News cards ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: .2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.news-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-media img {
    transform: scale(1.05);
}

.news-media .media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, .5);
    font-size: 2.2rem;
    background-image:
        radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
        linear-gradient(140deg, var(--green-800), var(--green-600));
    background-size: 18px 18px, 100% 100%;
}

.news-media .media-fallback::after {
    content: 'نقابة العاملين في بيت الزكاة';
    color: rgba(255, 255, 255, .5);
    font-size: .66rem;
    letter-spacing: .2px;
}

.news-chip {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--green-800);
    font-size: .7rem;
    font-weight: 700;
}

.news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 20px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .76rem;
}

.news-title {
    margin: 0;
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.6;
}

.news-title a {
    color: var(--green-950);
}

.news-title a:hover {
    color: var(--green-700);
}

.news-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.8;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--green-700);
    font-size: .82rem;
    font-weight: 700;
}

/* ---------- Offers band ---------- */
.offer-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
    align-items: center;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--green-950), var(--green-800));
    color: #fff;
}

.offer-band::after {
    content: '';
    position: absolute;
    inset-inline-start: -80px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.offer-band h2 {
    color: #fff;
}

.offer-band p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 22px;
}

.offer-list {
    display: grid;
    gap: 12px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    transition: .2s;
}

.offer-item:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.offer-item i {
    color: #f0d27a;
}

.offer-item strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
}

.offer-item small {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: .75rem;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-media::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--green-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-points {
    display: grid;
    gap: 12px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-2);
    font-size: .92rem;
}

.about-points i {
    color: var(--green-600);
    margin-top: 4px;
}

/* ---------- CTA ---------- */
.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--gold-100), #fff 55%);
    border: 1px solid #eadfbd;
}

.cta-band h2 {
    margin: 0 0 6px;
    font-size: 1.5rem;
}

.cta-band p {
    margin: 0;
    color: var(--muted);
}

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 50px;
    background: linear-gradient(135deg, var(--green-950), var(--green-800));
    color: #fff;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .5;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    max-width: 720px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, .75);
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.breadcrumb-nav i {
    font-size: .6rem;
}

/* ---------- Content layout ---------- */
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.sidebar-card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.sidebar-list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--ink-2);
    font-size: .88rem;
}

.sidebar-list a:hover,
.sidebar-list a.is-active {
    background: var(--green-50);
    color: var(--green-800);
    font-weight: 700;
}

.sidebar-list .count {
    color: var(--muted);
    font-size: .75rem;
}

.sidebar-note {
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(150deg, var(--green-900), var(--green-700));
    color: #fff;
}

.sidebar-note h3 {
    color: #fff;
    font-size: 1rem;
}

.sidebar-note p {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}

/* ---------- Article ---------- */
.article-shell {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.article-head {
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.article-head h1 {
    margin: 10px 0 12px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: .8rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--green-50);
    color: var(--green-800);
    font-size: .74rem;
    font-weight: 700;
}

.article-cover {
    overflow: hidden;
    margin-bottom: 26px;
    border-radius: 14px;
}

.article-cover img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.article-body {
    color: var(--ink-2);
    font-size: 1.02rem;
    line-height: 2;
}

.article-body h2,
.article-body h3 {
    margin: 1.6em 0 .6em;
    font-size: 1.3rem;
}

.article-body p {
    margin-bottom: 1em;
}

.article-body img {
    height: auto;
    max-width: 100%;
    border-radius: 12px;
}

.article-body ul,
.article-body ol {
    padding-inline-start: 1.4rem;
    margin-bottom: 1em;
}

.article-body table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;
}

.article-body table td,
.article-body table th {
    padding: 8px 10px;
    border: 1px solid var(--line);
}

.article-body blockquote {
    margin: 1.2em 0;
    padding: 14px 18px;
    border-inline-start: 3px solid var(--gold);
    background: var(--sand);
    border-radius: 0 10px 10px 0;
    color: var(--ink-2);
}

.article-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* ---------- Forms / auth ---------- */
.auth-section {
    padding: 60px 0 80px;
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 162, 39, .13), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(13, 107, 63, .1), transparent 45%),
        var(--sand-50);
}

.auth-card {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    max-width: 1020px;
    margin-inline: auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 46px;
    background: linear-gradient(155deg, var(--green-950) 0%, var(--green-800) 60%, var(--green-600) 100%);
    color: #fff;
    overflow: hidden;
}

.auth-aside::after {
    content: '';
    position: absolute;
    inset-inline-end: -90px;
    top: -90px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.auth-aside h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.auth-aside p {
    color: rgba(255, 255, 255, .76);
    font-size: .92rem;
    line-height: 1.9;
}

.auth-benefits {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .85);
    font-size: .88rem;
}

.auth-benefits i {
    color: #f0d27a;
    margin-top: 3px;
}

.auth-form {
    padding: 46px;
}

.auth-form h1 {
    margin-bottom: 6px;
    font-size: 1.6rem;
}

.auth-form .lead {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: .9rem;
}

.form-label {
    margin-bottom: 6px;
    color: var(--ink-2);
    font-size: .86rem;
    font-weight: 600;
}

.form-control,
.form-select {
    padding: .62rem .9rem;
    border-color: var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .92rem;
    color: var(--ink);
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 .2rem rgba(18, 133, 78, .13);
}

.form-control::placeholder {
    color: #9aa8a0;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    inset-inline-start: 12px;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: .9rem;
    pointer-events: none;
}

.input-icon .form-control {
    padding-inline-start: 36px;
}

.form-hint {
    margin-top: 4px;
    color: var(--muted);
    font-size: .76rem;
}

.form-check-input:checked {
    background-color: var(--green-700);
    border-color: var(--green-700);
}

.validation-summary-errors {
    padding: 12px 16px;
    margin-bottom: 18px;
    border: 1px solid #f3c6cc;
    border-radius: 10px;
    background: var(--red-50);
    color: #8a1020;
    font-size: .86rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-inline-start: 18px;
}

.field-validation-error {
    display: block;
    margin-top: 4px;
    color: var(--red);
    font-size: .78rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--muted);
    font-size: .78rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* ---------- Profile ---------- */
.profile-head {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px;
    background: linear-gradient(135deg, var(--green-950), var(--green-800));
    border-radius: var(--radius-lg);
    color: #fff;
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-head h1 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.5rem;
}

.profile-head p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: .86rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.profile-stat {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.profile-stat b {
    display: block;
    color: var(--green-900);
    font-size: 1.7rem;
    line-height: 1.2;
}

.profile-stat span {
    color: var(--muted);
    font-size: .82rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
    text-align: start;
}

.info-table th {
    width: 40%;
    color: var(--muted);
    font-weight: 500;
}

.info-table td {
    color: var(--ink);
    font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.contact-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: var(--green-50);
    color: var(--green-700);
}

.contact-item strong {
    display: block;
    font-size: .86rem;
    color: var(--green-950);
}

.contact-item span,
.contact-item a {
    color: var(--muted);
    font-size: .86rem;
}

/* ---------- Pager ---------- */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.pager a,
.pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: .86rem;
    font-weight: 600;
}

.pager a:hover {
    border-color: var(--green-100);
    background: var(--green-50);
    color: var(--green-800);
}

.pager .is-active {
    border-color: var(--green-700);
    background: var(--green-700);
    color: #fff;
}

.pager .is-disabled {
    opacity: .45;
    pointer-events: none;
}

/* ---------- Empty state ---------- */
.empty-state {
    padding: 60px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.empty-state i {
    display: block;
    margin-bottom: 12px;
    color: var(--green-600);
    font-size: 2.2rem;
}

.empty-state h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 80px;
    padding-top: 64px;
    background: var(--green-950);
    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 40px;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 16px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 12px;
}

.footer-about p {
    margin-bottom: 18px;
    font-size: .84rem;
    line-height: 1.9;
}

.site-footer h4 {
    margin-bottom: 18px;
    color: #fff;
    font-size: .95rem;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    transition: .18s;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green-950);
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, .68);
    font-size: .85rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .83rem;
    line-height: 1.8;
}

.footer-contact i {
    margin-top: 4px;
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 46px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .52);
    font-size: .78rem;
}

/* ---------- Misc ---------- */
.flash-wrap {
    padding-top: 18px;
}

.flash-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    border: 1px solid #b9e3c9;
    border-radius: 12px;
    background: #eaf8ef;
    color: #14532d;
    font-size: .9rem;
}

.flash-alert .btn-close {
    margin-inline-start: auto;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(4, 41, 26, .45);
    opacity: 0;
    visibility: hidden;
    transition: .22s;
}

body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .header-inner {
        gap: 16px;
    }

    .nav-link {
        padding: 9px 9px;
        font-size: .88rem;
    }

    .brand-text strong {
        font-size: .92rem;
    }

    .brand img {
        height: 50px;
    }
}

@media (max-width: 991.98px) {
    .topbar-contacts span {
        display: none;
    }

    .brand-text small {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        width: min(88vw, 380px);
        margin: 0;
        padding: 104px 18px 30px;
        overflow-y: auto;
        background: #fff;
        box-shadow: -20px 0 60px rgba(4, 41, 26, .2);
        transform: translateX(100%);
        transition: transform .26s ease;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .main-nav .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 13px 12px;
        font-size: .95rem;
    }

    .submenu {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 4px 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-menu.is-open .submenu {
        display: block;
    }

    .submenu a,
    .submenu .nav-link {
        padding: 10px 12px;
        background: var(--sand-50);
        margin-bottom: 2px;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 70px 0 100px;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-inline-end: 0;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid,
    .offer-band {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-media {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .auth-card {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .auth-aside {
        display: none;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 28px, 1220px);
    }

    .header-inner {
        min-height: 74px;
    }

    .brand img {
        height: 44px;
    }

    .brand-text strong {
        font-size: .82rem;
        max-width: 160px;
    }

    .topbar-links {
        display: none;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: .95rem;
    }

    .hero-meta {
        gap: 14px;
        font-size: .76rem;
    }

    .section {
        padding: 56px 0;
    }

    .stats-strip {
        margin-top: -40px;
    }

    .stat {
        padding: 20px 12px;
    }

    .stat b {
        font-size: 1.55rem;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .offer-band {
        padding: 28px;
    }

    .content-grid {
        gap: 24px;
    }

    .article-shell {
        padding: 20px;
    }

    .auth-section {
        padding: 30px 0 50px;
    }

    .auth-form {
        padding: 28px 22px;
    }

    .profile-head {
        flex-direction: column;
        align-items: flex-start;
        text-align: start;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .topbar-contacts {
        gap: 10px;
    }

    .topbar {
        font-size: .74rem;
    }

    .account-menu .account-btn {
        padding: 4px;
    }
}

/* ---------- Membership & checkout ---------- */
.membership-card {
    margin-top: 22px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.membership-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 26px;
}

.membership-card-head h2 {
    margin: 10px 0 4px;
    font-size: 1.35rem;
}

.membership-card-head p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.membership-dates {
    display: flex;
    gap: 26px;
    flex-shrink: 0;
}

.membership-dates div {
    text-align: center;
}

.membership-dates small {
    display: block;
    color: var(--muted);
    font-size: .7rem;
}

.membership-dates strong {
    color: var(--green-900);
    font-size: .95rem;
    white-space: nowrap;
}

.membership-progress {
    height: 8px;
    margin: 20px 0 16px;
    overflow: hidden;
    background: var(--green-50);
    border-radius: 999px;
}

.membership-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green-700), var(--green-500));
}

.membership-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.payment-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    margin-bottom: 18px;
    background: var(--green-50);
    border-radius: 12px;
}

.payment-summary small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
}

.payment-summary strong {
    color: var(--green-900);
    font-size: 1.5rem;
}

.payment-summary strong span {
    color: var(--muted);
    font-size: .78rem;
}

.payment-summary-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green-800);
    font-size: .8rem;
}

.checkout-card {
    max-width: 760px;
    margin-inline: auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.checkout-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--green-950), var(--green-800));
    color: #fff;
}

.checkout-head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
}

.checkout-head p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: .78rem;
}

.checkout-head .badge-soft {
    margin-inline-start: auto;
}

.knet-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--green-800);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .5px;
}

.checkout-body {
    padding: 28px;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
}

.checkout-row span {
    color: var(--muted);
}

.checkout-row strong {
    color: var(--ink);
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 22px;
}

.checkout-total strong {
    color: var(--green-900);
    font-size: 1.9rem;
}

.checkout-total small {
    color: var(--muted);
    font-size: .8rem;
}

.checkout-security {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    color: var(--muted);
    font-size: .78rem;
}

.checkout-security div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flash-alert.alert-danger {
    border-color: #f3c6cc;
    background: var(--red-50);
    color: #8a1020;
}

@media (max-width: 767.98px) {
    .membership-card {
        padding: 20px;
    }

    .membership-card-head {
        flex-direction: column;
    }

    .membership-dates {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .payment-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .checkout-head {
        flex-wrap: wrap;
        padding: 20px;
    }

    .checkout-head .badge-soft {
        margin-inline-start: 0;
    }

    .checkout-body {
        padding: 20px;
    }

    .checkout-security {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
