/* ============================================================
   TOAF PAGE — Main Stylesheet
   Bottle Green Theme
   ============================================================ */

/* ── Material Symbols ───────────────────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
    user-select: none;
}
.ms-filled { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms-sm { font-size: 18px; }
.ms-lg { font-size: 32px; }

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --green-darkest:  #0a1f12;
    --green-dark:     #0f2318;
    --green-primary:  #1a3d2b;
    --green-medium:   #2d6a4f;
    --green-light:    #40916c;
    --green-pale:     #74c69d;
    --gold:           #d4a853;
    --gold-light:     #e6ba6a;
    --gold-pale:      #f5e1a4;
    --text-primary:   #e9ecef;
    --text-secondary: #adb5bd;
    --text-muted:     #6c757d;
    --border:         rgba(45, 106, 79, 0.4);
    --border-light:   rgba(45, 106, 79, 0.2);
    --card-bg:        rgba(26, 61, 43, 0.7);
    --card-bg-solid:  #1a3d2b;
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:      0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg:      0 20px 60px rgba(0,0,0,0.5);
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --transition:     all 0.25s ease;
    --font-body:      'Inter', -apple-system, sans-serif;
    --font-heading:   'Playfair Display', Georgia, serif;
    --navbar-h:       72px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--green-dark);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(45,106,79,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(26,61,43,0.2) 0%, transparent 60%);
}

a { color: var(--green-pale); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-dark); }
::-webkit-scrollbar-thumb { background: var(--green-medium); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-light); }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--navbar-h);
    z-index: 1000;
    background: rgba(10, 31, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 31, 18, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-logo { font-size: 1.6rem; }

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.nav-logo {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition);
}
.nav-logo:hover {
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(212,168,83,0.35));
}

.nav-brand-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(45, 106, 79, 0.3);
}

.nav-links a.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    border-radius: 0;
}

/* ── Language switcher ──────────────────────────────────────── */
.nav-lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
}
.lang-sep {
    color: var(--border);
    font-size: .8rem;
    padding: 0 2px;
    user-select: none;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.2s, background 0.2s;
    background: transparent;
    border-bottom: none !important;
    color: var(--text-secondary);
}
.lang-flag-img { display:block; border-radius:2px; box-shadow:0 1px 3px rgba(0,0,0,.4); }
.lang-label { font-size: .78rem; font-weight: 700; letter-spacing: .05em; }
.lang-btn:hover  { opacity: 1; background: rgba(45,106,79,0.3); color: var(--text-primary); }
.lang-btn.lang-active { opacity: 1; background: rgba(45,106,79,0.25); color: var(--gold); }
.lang-btn.lang-active .lang-label { color: var(--gold); }

@media (max-width: 768px) {
    .nav-lang-switcher {
        border-left: none;
        border-top: 1px solid var(--border);
        margin-left: 0;
        padding: 0.5rem 1rem;
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
    }
}

/* ── Nav dropdown ───────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(10, 31, 18, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 500;
    padding: 0.4rem 0;
    list-style: none;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--border);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 0;
    white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
    background: rgba(45,106,79,0.25);
    color: var(--text-primary);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
    animation: fadeInUp 0.15s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--navbar-h) + 2rem) 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(45,106,79,0.25) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d6a4f' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.4);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hero h1 span { color: var(--gold); }

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gold);
    color: var(--green-darkest);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--green-darkest);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,168,83,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--green-light);
    color: var(--green-pale);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--green-medium);
    color: var(--text-primary);
}
.btn-secondary:hover {
    background: var(--green-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-danger {
    background: #c0392b;
    color: #fff;
}
.btn-danger:hover { background: #e74c3c; }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Section ────────────────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container-sm { max-width: 760px; margin: 0 auto; }
.container-md { max-width: 960px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.card:hover {
    border-color: rgba(45, 106, 79, 0.7);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-solid {
    background: var(--card-bg-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

/* ── Grid layouts ───────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bar {
    background: rgba(45, 106, 79, 0.15);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item .stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 0.4rem;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── News cards ─────────────────────────────────────────────── */
.news-card { display: flex; flex-direction: column; }
.news-card .news-date { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-bottom: 0.6rem; }
.news-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.news-card p { color: var(--text-secondary); font-size: 0.9rem; flex: 1; }
.news-card .read-more { margin-top: 1rem; color: var(--green-pale); font-size: 0.85rem; font-weight: 500; }
.news-card .read-more:hover { color: var(--gold); }

/* ── File items ─────────────────────────────────────────────── */
.file-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.file-item:hover {
    border-color: var(--green-medium);
    background: rgba(26, 61, 43, 0.9);
    transform: translateX(4px);
}

.file-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(45, 106, 79, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.file-info { flex: 1; min-width: 0; }
.file-info h4 { font-size: 0.95rem; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-body); }
.file-info p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; }
.file-meta { display: flex; gap: 1rem; align-items: center; flex-shrink: 0; }
.file-meta .badge { font-size: 0.72rem; padding: 0.2rem 0.6rem; background: rgba(45,106,79,0.3); border-radius: 20px; color: var(--text-secondary); white-space: nowrap; }
.file-meta .downloads { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-label .required { color: #e74c3c; margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 31, 18, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder { color: var(--text-muted); }
.form-control:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(64,145,108,0.15); }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-success { background: rgba(26,74,42,0.8); border: 1px solid #27ae60; color: #73d13d; }
.alert-error   { background: rgba(74,26,26,0.8); border: 1px solid #e74c3c; color: #ff6b6b; }
.alert-info    { background: rgba(26,52,74,0.8); border: 1px solid #3498db; color: #74b9ff; }
.alert-warning { background: rgba(74,58,26,0.8); border: 1px solid #f39c12; color: #ffd166; }

/* ── Page header ────────────────────────────────────────────── */
.page-header {
    padding: calc(var(--navbar-h) + 3rem) 1.5rem 3rem;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(45,106,79,0.2) 0%, transparent 70%);
    z-index: 0;
}

.page-header > * { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }
.page-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    justify-content: center;
    margin-top: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--text-secondary); }

/* ── Divider ────────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 3rem 0;
}

.divider-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── Feature items ──────────────────────────────────────────── */
.feature-icon {
    width: 56px; height: 56px;
    background: rgba(45,106,79,0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}
.card:hover .feature-icon { background: rgba(45,106,79,0.45); border-color: var(--green-light); }
.feature-title { font-size: 1.05rem; margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; }
.feature-text { font-size: 0.88rem; color: var(--text-secondary); }

/* ── Payment form ───────────────────────────────────────────── */
.payment-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 620px;
    margin: 0 auto;
}

.payment-card-header {
    background: linear-gradient(135deg, var(--green-medium), var(--green-primary));
    padding: 2rem;
    text-align: center;
}

.payment-card-header h3 { font-size: 1.4rem; color: #fff; margin-bottom: 0.5rem; }
.payment-card-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.payment-card-body { padding: 2rem; }

.amount-display {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(212,168,83,0.08);
    border: 1px solid rgba(212,168,83,0.25);
    border-radius: var(--radius-md);
}

.amount-display .amount { font-size: 2.5rem; font-weight: 800; color: var(--gold); font-family: var(--font-heading); }
.amount-display .currency { font-size: 1rem; color: var(--text-secondary); margin-left: 0.25rem; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 44px; height: 44px; background: rgba(45,106,79,0.25);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 0.25rem; font-weight: 600; }
.contact-info-text p, .contact-info-text a { color: var(--text-secondary); font-size: 0.95rem; }

/* ── Table ──────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }

table { width: 100%; border-collapse: collapse; }
thead { background: rgba(45,106,79,0.2); }
thead th { padding: 0.9rem 1.25rem; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; white-space: nowrap; }
tbody tr { border-top: 1px solid var(--border-light); transition: var(--transition); }
tbody tr:hover { background: rgba(45,106,79,0.1); }
tbody td { padding: 0.9rem 1.25rem; font-size: 0.88rem; color: var(--text-secondary); vertical-align: middle; }
tbody td strong { color: var(--text-primary); }

/* ── Badge / Status ─────────────────────────────────────────── */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.status-completed { background: rgba(39,174,96,0.2); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }
.status-pending   { background: rgba(243,156,18,0.2); color: #f39c12; border: 1px solid rgba(243,156,18,0.3); }
.status-failed    { background: rgba(231,76,60,0.2); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }
.status-published { background: rgba(39,174,96,0.2); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }
.status-draft     { background: rgba(108,117,125,0.2); color: #6c757d; border: 1px solid rgba(108,117,125,0.3); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: var(--green-darkest);
    border-top: 1px solid var(--border);
    padding: 4rem 1.5rem 2rem;
    margin-top: auto;
}

.footer-container { max-width: 1200px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer .brand-name { color: var(--gold); font-size: 1.3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 600; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-col p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ── Utility ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-success { color: #27ae60; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-border {
    0%, 100% { border-color: var(--border); }
    50%       { border-color: var(--green-medium); }
}

.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 3rem;
}
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--green-medium); color: var(--text-primary); }
.pagination .active { background: var(--gold); border-color: var(--gold); color: var(--green-darkest); font-weight: 700; }

/* ── Filter tabs ────────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tab {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--green-medium);
    border-color: var(--green-medium);
    color: #fff;
}

/* ── About section ──────────────────────────────────────────── */
.about-image-placeholder {
    aspect-ratio: 4/3;
    background: rgba(45,106,79,0.15);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.5;
}

/* ── CMS Content (TinyMCE output) ───────────────────────────── */
.cms-content { line-height: 1.85; color: var(--text-secondary); }
.cms-content h1, .cms-content h2, .cms-content h3,
.cms-content h4, .cms-content h5 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}
.cms-content h2 { font-size: 1.6rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.cms-content h3 { font-size: 1.2rem; color: var(--gold); }
.cms-content p { margin-bottom: 1rem; }
.cms-content strong { color: var(--text-primary); font-weight: 600; }
.cms-content a { color: var(--green-pale); text-decoration: underline; text-underline-offset: 3px; }
.cms-content a:hover { color: var(--gold); }
.cms-content ul, .cms-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.cms-content li { margin-bottom: 0.4rem; }
.cms-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(212,168,83,0.07);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}
.cms-content code {
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--green-pale);
    font-family: 'Consolas', 'Courier New', monospace;
}
.cms-content pre {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.cms-content pre code { background: none; padding: 0; }
.cms-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.cms-content table th { background: rgba(45,106,79,0.25); color: var(--gold); padding: 0.6rem 1rem; text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cms-content table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border-light); }
.cms-content table tr:hover td { background: rgba(45,106,79,0.08); }
.cms-content img { border-radius: var(--radius-md); max-width: 100%; height: auto; display: block; margin: 1.5rem auto; }
.cms-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --navbar-h: 64px; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--navbar-h);
        left: 0; right: 0;
        background: rgba(10,31,18,0.98);
        backdrop-filter: blur(12px);
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; }
    .nav-links a.active { border-bottom: none; background: rgba(45,106,79,0.3); border-radius: var(--radius-sm); }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: rgba(45,106,79,0.12);
        border: none;
        border-left: 2px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        margin-left: 1rem;
        min-width: unset;
        padding: 0;
    }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown-menu li a { font-size: 0.92rem; padding: 0.6rem 1rem; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    /* mobile — pokazuj tylko przez JS */

    .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .hero-actions { flex-direction: column; align-items: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .file-item { flex-wrap: wrap; }
    .file-meta { width: 100%; justify-content: flex-end; }

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

@media (max-width: 480px) {
    .section { padding: 3.5rem 1rem; }
    .card { padding: 1.25rem; }
    .payment-card-body { padding: 1.25rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
