@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

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

:root {
    --near-black: #0e0f0c;
    --wise-green: #9fe870;
    --dark-green: #163300;
    --light-mint: #e2f6d5;
    --pastel-green: #cdffad;
    --warm-dark: #454745;
    --gray: #868685;
    --light-surface: #e8ebe6;
    --bg-white: #ffffff;
    --bg-offwhite: #f8faf6;
    --danger-red: #d03238;
    --font-main: 'Inter', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    font-weight: 400;
    font-feature-settings: "calt";
    color: var(--near-black);
    background-color: var(--bg-white);
    line-height: 1.44;
    letter-spacing: 0.18px;
}

a {
    color: var(--dark-green);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.75;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ─── HEADER ─── */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid rgba(14, 15, 12, 0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--near-black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    line-height: 0.85;
}

.site-logo span {
    color: var(--dark-green);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--near-black);
    border-radius: 9999px;
    transition: background 0.2s;
    font-feature-settings: "calt";
}

.nav-list a:hover {
    background: rgba(211, 242, 192, 0.4);
    opacity: 1;
}

.nav-list a.active {
    background: var(--light-mint);
    color: var(--dark-green);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--near-black);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
    padding: 80px 0 64px;
    background: var(--bg-offwhite);
    border-bottom: 1px solid rgba(14, 15, 12, 0.08);
}

.hero-content {
    max-width: 720px;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.084px;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 20px;
    font-feature-settings: "calt";
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.13rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--warm-dark);
    max-width: 560px;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--wise-green);
    color: var(--dark-green);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    opacity: 1;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 51, 0, 0.08);
    color: var(--near-black);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-feature-settings: "calt";
    text-decoration: none;
}

.btn-secondary:hover {
    transform: scale(1.05);
    opacity: 1;
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* ─── SECTIONS ─── */
section {
    padding: 64px 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-green);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 40px;
}

/* ─── ARTICLE CARDS ─── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-white);
    border: 1px solid rgba(14, 15, 12, 0.12);
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 15, 12, 0.1);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--light-mint);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: -0.39px;
    color: var(--near-black);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.card-excerpt {
    font-size: 0.95rem;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-meta time {
    font-weight: 600;
}

/* ─── INFO BLOCKS ─── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.info-block {
    background: var(--bg-offwhite);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(14, 15, 12, 0.08);
}

.info-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}

.info-block p {
    font-size: 0.9rem;
    color: var(--warm-dark);
    line-height: 1.5;
}

/* ─── FEATURED / BIG CARD ─── */
.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-offwhite);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(14, 15, 12, 0.08);
}

.featured-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-card-body {
    padding: 40px;
}

.featured-card-body h2 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 0.95;
    color: var(--near-black);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.featured-card-body p {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ─── ARTICLE PAGE ─── */
.article-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-page h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    flex-wrap: wrap;
}

.article-meta .cat-badge {
    background: var(--light-mint);
    color: var(--dark-green);
    padding: 3px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.article-hero-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 40px;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--near-black);
    margin: 36px 0 16px;
    font-feature-settings: "calt";
    line-height: 1.1;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--near-black);
    margin: 24px 0 12px;
    font-feature-settings: "calt";
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--near-black);
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--near-black);
}

.article-body a {
    color: var(--dark-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body img {
    border-radius: 16px;
    margin: 24px 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-updated {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(14, 15, 12, 0.1);
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--dark-green);
    font-weight: 600;
}

.breadcrumb span {
    margin: 0 6px;
}

/* ─── CONTACT FORM ─── */
.contact-section {
    background: var(--bg-offwhite);
    border-radius: 40px;
    padding: 48px;
    border: 1px solid rgba(14, 15, 12, 0.08);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 640px;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--near-black);
    font-feature-settings: "calt";
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(14, 15, 12, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--near-black);
    background: var(--bg-white);
    outline: none;
    transition: border-color 0.2s;
    font-feature-settings: "calt";
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dark-green);
    box-shadow: rgb(134, 134, 133) 0 0 0 1px inset;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--near-black);
    color: rgba(255, 255, 255, 0.75);
    padding: 56px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--bg-white);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.footer-brand .logo span {
    color: var(--wise-green);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--wise-green);
    opacity: 1;
}

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact a {
    color: var(--wise-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--wise-green);
    opacity: 1;
}

/* ─── COOKIE BANNER ─── */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--near-black);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(14, 15, 12, 0.25);
    transform: translateY(0);
    transition: transform 0.4s, opacity 0.4s;
}

#cookie-banner.hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

#cookie-banner p {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.5;
    min-width: 200px;
}

#cookie-banner p a {
    color: var(--wise-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--wise-green);
    color: var(--dark-green);
    border: none;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: var(--font-main);
}

.cookie-accept:hover {
    transform: scale(1.05);
}

.cookie-reject {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: none;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: var(--font-main);
}

.cookie-reject:hover {
    transform: scale(1.05);
}

/* ─── PAGE CONTENT ─── */
.page-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 32px;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--near-black);
    margin: 36px 0 14px;
    font-feature-settings: "calt";
}

.page-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--near-black);
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ─── STATS STRIP ─── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(14, 15, 12, 0.12);
    border-radius: 30px;
    overflow: hidden;
    margin: 48px 0;
}

.stat-item {
    background: var(--bg-white);
    padding: 28px 24px;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-green);
    line-height: 1;
    font-feature-settings: "calt";
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 600;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card img {
        height: 280px;
    }

    .featured-card-body {
        padding: 28px;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid rgba(14, 15, 12, 0.12);
        padding: 16px 24px;
    }

    .site-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

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

    .hero {
        padding: 48px 0 40px;
    }

    .contact-section {
        padding: 28px 20px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

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

    #cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
