:root {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --brand: #f59e0b;
    --brand2: #0284c7;
    --border: rgba(15, 23, 42, .12);
    --shadow: 0 12px 30px rgba(15, 23, 42, .08)
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    background: linear-gradient(180deg, var(--bg), #ffffff);
    color: var(--text)
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px
}

/* ── Top header bar ── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 158, 11, .2);
    padding: 0 24px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, .1)
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 80px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    flex-shrink: 0
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #ffd36a);
    display: grid;
    place-items: center;
    color: #1b1200;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 12px 25px rgba(245, 158, 11, .3);
    border: 2px solid rgba(255, 255, 255, .8);
    animation: pulse 2s infinite
}

.brand-multiline {
    display: flex;
    flex-direction: column;
    line-height: 1
}

.brand-line {
    font-size: 17px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: .02em
}

.brand-line:nth-child(1) {
    color: #f59e0b
}

.brand-line:nth-child(2) {
    color: var(--text)
}

.brand-line:nth-child(3) {
    color: #f59e0b
}

.topbar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 0 12px
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap
}

.nav-row-top {
    justify-content: flex-start
}

.nav-row-bottom {
    justify-content: flex-start
}

.nav-link {
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

.nav-link:hover {
    background: rgba(245, 158, 11, .15);
    color: #92400e;
    transform: translateY(-1px)
}

.btn-support {
    border: 2px solid rgba(245, 158, 11, .4);
    background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(255, 211, 106, .08));
    color: #92400e;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 12px;
    white-space: nowrap;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 15px rgba(245, 158, 11, .2);
    animation: blink 1.5s infinite
}

.btn-support:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, .25), rgba(255, 211, 106, .15));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, .3);
    animation-play-state: paused
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0
}

.mobile-menu-toggle {
    display: none;
    border: 2px solid var(--border);
    background: rgba(255, 255, 255, .9);
    color: var(--text);
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all .3s
}

/* ── Dropdown ── */
.nav-dropdown {
    position: relative
}

.nav-dropdown-trigger {
    font-size: 14px
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 6px;
    z-index: 90;
    margin-top: 4px
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px
}

.nav-dropdown-menu a:hover {
    background: rgba(2, 132, 199, .08);
    color: var(--text)
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block
}

/* ── Layout ── */
.layout {
    min-height: calc(100vh - 60px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px
}

.layout.has-sidebar {
    grid-template-columns: 260px 1fr;
    gap: 22px
}

.main {
    min-width: 0
}

/* ── Sidebar (auth only) ── */
.sidebar {
    position: sticky;
    top: 78px;
    height: calc(100vh - 96px);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow)
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow: auto;
    padding-right: 4px
}

.sidebar-links a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    border: 1px solid transparent
}

.sidebar-links a:hover {
    background: rgba(2, 132, 199, .08);
    border-color: rgba(2, 132, 199, .18);
    color: var(--text)
}

.sidebar-badge {
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .10);
    border: 1px solid rgba(245, 158, 11, .22);
    color: #92400e;
    font-weight: 700;
    font-size: 13px
}

.sidebar-section-title {
    padding: 6px 12px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .75);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
    font-size: 14px
}

.btn:hover {
    background: #ffffff
}

.btn-primary {
    border-color: rgba(245, 158, 11, .25);
    background: linear-gradient(135deg, rgba(245, 158, 11, .98), rgba(255, 211, 106, .96));
    color: #1b1200;
    font-weight: 800
}

.btn-primary:hover {
    filter: brightness(1.02)
}

/* ── Hero Main Section ── */
.hero-main {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fff9e6 25%, #fff3d0 50%, #fff9e6 75%, #fff 100%);
    padding: 120px 0 80px
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, .1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(245, 158, 11, .08) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(255, 211, 106, .05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 1
}

/* ── Africa Map Background ── */
.africa-map-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    height: 80%;
    max-height: 600px;
    z-index: 2;
    opacity: 0.15
}

.africa-map {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.1)
}

/* ── Countries Ticker ── */
.countries-ticker {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    overflow: hidden
}

.countries-content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: countriesScroll 45s linear infinite
}

.country {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(245, 158, 11, .3);
    opacity: 0.8;
    transition: all .3s
}

.country:hover {
    opacity: 1;
    transform: scale(1.1)
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    margin: 0 auto
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ffd36a);
    color: #1b1200;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, .3)
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -.02em
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px
}

.tag {
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(245, 158, 11, .2);
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, .1)
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #ffd36a);
    color: #1b1200;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(245, 158, 11, .3)
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, .4)
}

.btn-hero.btn-secondary {
    background: rgba(255, 255, 255, .9);
    color: var(--text);
    border: 2px solid rgba(245, 158, 11, .3);
    box-shadow: 0 8px 25px rgba(245, 158, 11, .15)
}

.btn-hero.btn-secondary:hover {
    background: rgba(245, 158, 11, .1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, .25)
}

/* ── Stats Section ── */
.stats-section {
    padding: 80px 0;
    background: #fff
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, #fff9e6, #fff);
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, .1);
    box-shadow: 0 6px 25px rgba(245, 158, 11, .08);
    transition: all .3s
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(245, 158, 11, .15)
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f59e0b;
    margin-bottom: 6px
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 60px
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 16px
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto
}

/* ── News Section ── */
.news-section {
    padding: 80px 0;
    background: #f9fafb
}

.news-ticker-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #f9fafb);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .08)
}

.news-ticker {
    display: flex;
    gap: 20px;
    padding: 20px;
    animation: newsScroll 30s linear infinite
}

.news-card {
    min-width: 320px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(15, 23, 42, .05)
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, .1);
    border-color: rgba(245, 158, 11, .3)
}

.news-date {
    color: #f59e0b;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.3
}

.news-excerpt {
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.9rem
}

.link-more {
    color: #f59e0b;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.link-more:hover {
    gap: 8px
}

/* ── Why Section ── */
.why-section {
    padding: 80px 0;
    background: #fff
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px
}

.why-card {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, #fff9e6, #fff);
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, .1);
    transition: all .3s;
    box-shadow: 0 8px 30px rgba(245, 158, 11, .08)
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, .15)
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px
}

.why-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px
}

.why-card p {
    color: var(--muted);
    line-height: 1.7
}

/* ── Voices Section ── */
.voices-section {
    padding: 80px 0;
    background: #f9fafb
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px
}

.voice-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
    transition: all .3s
}

.voice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12)
}

.voice-image {
    height: 200px;
    overflow: hidden
}

.voice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.voice-card:hover .voice-image img {
    transform: scale(1.05)
}

.voice-quote {
    padding: 20px;
    font-style: italic;
    color: var(--text);
    font-weight: 500;
    line-height: 1.6
}

/* ── Workflow Section ── */
.workflow-section {
    padding: 80px 0;
    background: #fff
}

.workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto
}

.workflow-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #fff9e6, #fff);
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, .1);
    box-shadow: 0 8px 30px rgba(245, 158, 11, .08);
    transition: all .3s
}

.workflow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, .15)
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #ffd36a);
    color: #1b1200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0 auto 16px
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px
}

.workflow-step h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px
}

.workflow-step p {
    color: var(--muted);
    line-height: 1.6
}

.workflow-arrow {
    font-size: 2rem;
    color: #f59e0b;
    font-weight: 700
}

/* ── CTA Section ── */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f59e0b, #ffd36a);
    text-align: center
}

.cta-content {
    max-width: 700px;
    margin: 0 auto
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1b1200;
    margin-bottom: 20px
}

.cta-section p {
    font-size: 1.2rem;
    color: #1b1200;
    opacity: .9;
    margin-bottom: 40px;
    line-height: 1.6
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px
}

.btn-primary.btn-large {
    background: #1b1200;
    color: #ffd36a;
    border: 2px solid transparent
}

.btn-primary.btn-large:hover {
    background: #000;
    color: #fff
}

.btn-secondary.btn-large {
    background: rgba(255, 255, 255, .9);
    color: #1b1200;
    border: 2px solid rgba(255, 255, 255, .5)
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 60px 20px
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px
}

/* ── Animations ── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes scale {
    from {
        opacity: 0;
        transform: scale(.8)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.animate-fade-in {
    animation: fadeIn .8s ease-out forwards
}

.animate-slide-up {
    animation: slideUp .8s ease-out forwards
}

.animate-scale {
    animation: scale .8s ease-out forwards
}

.animate-fade-in-delay {
    animation-delay: .2s;
    opacity: 0
}

.animate-slide-up-delay {
    animation-delay: .2s;
    opacity: 0
}

.animate-scale-delay {
    animation-delay: .2s;
    opacity: 0
}

.animate-slide-up-delay-2 {
    animation-delay: .4s;
    opacity: 0
}

.animate-scale-delay-2 {
    animation-delay: .4s;
    opacity: 0
}

.animate-scale-delay-3 {
    animation-delay: .6s;
    opacity: 0
}

/* ── Ticker Animation ── */
.ticker-container {
    position: relative;
    height: 30px;
    background: rgba(245, 158, 11, .08);
    overflow: hidden;
    border-top: 1px solid rgba(245, 158, 11, .15);
    border-bottom: 1px solid rgba(245, 158, 11, .05);
    display: flex;
    align-items: center
}

.ticker-content {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scroll 25s linear infinite
}

.ticker-item {
    white-space: nowrap;
    padding: 0 50px;
    color: #92400e;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.02em
}

/* ── Animations ── */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

@keyframes blink {

    0%,
    50%,
    100% {
        background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(255, 211, 106, .08));
        color: #92400e
    }

    25%,
    75% {
        background: linear-gradient(135deg, #f59e0b, #ffd36a);
        color: #1b1200
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

@keyframes newsScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-100%)
    }
}

@keyframes countriesScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ── Testimonials Section ── */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb, #fff)
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(245, 158, 11, .1);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
    position: relative;
    transition: all .3s
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12)
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ffd36a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b1200;
    font-weight: 800;
    font-size: 1.2rem
}

.testimonial-info {
    flex: 1
}

.testimonial-name {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.testimonial-role {
    color: var(--muted);
    font-size: 0.9rem
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(245, 158, 11, .1)
}

/* ── Layout Update ── */
.layout {
    min-height: calc(100vh - 110px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px
}

.layout.has-sidebar {
    grid-template-columns: 260px 1fr;
    gap: 24px
}

.tab-active {
    background: var(--brand) !important;
    color: #fff !important
}

.tab-item {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    background: #f5f5f5;
    color: #333;
    transition: all .2s
}

.tab-item:hover {
    background: #e5e5e5
}

.hero-slogan .h1 {
    font-size: 52px;
    line-height: 1.08;
    margin: 0 0 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto
}

.hero-slogan .lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto
}

/* ── Hero grid (news etc.) ── */
.hero {
    padding: 24px 0 18px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    align-items: stretch
}

/* ── Panels, cards, sections ── */
.panel {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.h1 {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 10px
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px
}

.badge {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(2, 132, 199, .10);
    border: 1px solid rgba(2, 132, 199, .18);
    color: #075985;
    font-size: 13px
}

.section {
    padding: 18px 0 44px
}

.section h2 {
    margin: 0 0 12px;
    font-size: 22px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .06)
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5
}

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px
}

/* ── Forms ── */
.form {
    display: grid;
    gap: 12px
}

.field {
    display: grid;
    gap: 6px
}

label {
    color: var(--muted);
    font-size: 13px
}

input,
textarea,
select {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    outline: none
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(56, 189, 248, .45);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .12)
}

textarea {
    min-height: 140px;
    resize: vertical
}

.alert {
    border: 1px solid rgba(2, 132, 199, .25);
    background: rgba(2, 132, 199, .08);
    padding: 12px 14px;
    border-radius: 14px
}

/* ── Lang switcher ── */
.lang {
    display: inline-flex;
    gap: 8px
}

.lang a {
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px
}

.lang a:hover {
    color: var(--text);
    background: rgba(2, 132, 199, .08)
}

/* ── Media grid ── */
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px
}

.media-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .10)
}

/* ── Footer ── */
.site-footer {
    margin-top: 48px;
    background: var(--text);
    color: rgba(255, 255, 255, .7);
    padding: 48px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.footer-col a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px
}

.footer-col a:hover {
    color: #fff
}

.footer-heading {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 4px
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0
}

.site-footer .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 8px
}

.site-footer .brand {
    color: #fff
}

.footer-bottom {
    margin-top: 32px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px
}

.footer-bottom .lang a {
    border-color: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .5)
}

.footer-bottom .lang a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08)
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .layout.has-sidebar {
        grid-template-columns: 240px 1fr
    }

    .topbar-nav {
        gap: 2px
    }

    .nav-link {
        padding: 8px 8px;
        font-size: 13px
    }
}

@media (max-width: 900px) {

    .layout,
    .layout.has-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px
    }

    .container {
        padding: 0 16px
    }

    .sidebar {
        display: none
    }

    .mobile-menu-toggle {
        display: inline-flex
    }

    .topbar-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        flex-direction: column;
        padding: 12px;
        gap: 4px
    }

    .nav-open .topbar-nav {
        display: flex
    }

    .topbar-actions {
        gap: 6px
    }

    .topbar-actions .lang {
        display: none
    }

    .hero-slogan .h1 {
        font-size: 32px
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }
}