@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;
    --white: #ffffff;
    --danger-red: #d03238;
    --font-display: 'Inter', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
    --shadow-ring: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    --radius-card: 30px;
    --radius-pill: 9999px;
    --radius-small: 16px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: 0.18px;
    color: var(--near-black);
    background: var(--white);
    font-feature-settings: "calt";
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--dark-green);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--near-black);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.site-header {
    background: var(--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;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    line-height: 0.85;
}

.site-logo span {
    color: var(--dark-green);
}

/* NAV */
.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: var(--near-black);
    transition: background 0.2s, transform 0.15s;
    font-feature-settings: "calt";
}

.site-nav a:hover {
    background: rgba(211,242,192,0.4);
    color: var(--near-black);
    transform: scale(1.02);
}

.site-nav a.active {
    background: var(--wise-green);
    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(--white);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -1px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--warm-dark);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-ring);
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    font-feature-settings: "calt";
    letter-spacing: -0.108px;
    text-decoration: none;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--wise-green);
    color: var(--dark-green);
}

.btn-secondary {
    background: rgba(22,51,0,0.08);
    color: var(--near-black);
}

/* SECTIONS */
section {
    padding: 64px 0;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark-green);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.section-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.85;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--warm-dark);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 48px;
}

/* ARTICLE CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    border-radius: var(--radius-card);
    border: 1px solid rgba(14,15,12,0.12);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--white);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14,15,12,0.1);
}

.article-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 12px;
}

.article-card-title {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.396px;
    color: var(--near-black);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.article-card-excerpt {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.55;
    margin-bottom: 20px;
}

.article-card-meta {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 400;
}

/* INFO BLOCKS */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.info-card {
    background: var(--light-surface);
    border-radius: var(--radius-card);
    padding: 32px;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: var(--wise-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.info-card-title {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.396px;
    color: var(--near-black);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

.info-card-text {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.6;
}

/* DARK SECTION */
.dark-section {
    background: var(--near-black);
    color: var(--white);
    padding: 80px 0;
}

.dark-section .section-title {
    color: var(--white);
}

.dark-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.dark-section .section-label {
    color: var(--wise-green);
}

/* ARTICLE PAGE */
.article-hero {
    padding: 48px 0 0;
}

.article-hero-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-top: 32px;
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--near-black);
    margin: 32px 0 12px;
    font-feature-settings: "calt";
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 8px;
}

.article-content a {
    color: var(--dark-green);
    border-bottom: 1px solid var(--wise-green);
    padding-bottom: 1px;
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(14,15,12,0.12);
    flex-wrap: wrap;
}

.article-meta-date {
    font-size: 0.875rem;
    color: var(--gray);
}

.article-meta-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark-green);
    background: var(--light-mint);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.article-content img {
    border-radius: var(--radius-small);
    margin: 32px 0;
    width: 100%;
    object-fit: cover;
}

/* BREADCRUMBS */
.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--gray);
    font-weight: 400;
}

.breadcrumbs a:hover {
    color: var(--near-black);
}

.breadcrumbs span {
    color: rgba(14,15,12,0.3);
}

/* CONTACT FORM */
.contact-section {
    padding: 80px 0;
    background: var(--light-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 0.9;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--warm-dark);
}

.contact-detail-item strong {
    color: var(--near-black);
    font-weight: 600;
    min-width: 80px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-ring);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--near-black);
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--near-black);
    background: var(--white);
    border: 1px solid rgba(14,15,12,0.2);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 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) 0px 0px 0px 1px inset;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOOTER */
.site-footer {
    background: var(--near-black);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .site-logo {
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--wise-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 560px;
    background: var(--near-black);
    color: var(--white);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.cookie-banner p a {
    color: var(--wise-green);
    border-bottom: 1px solid rgba(159,232,112,0.4);
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

/* PAGE HEADER */
.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(14,15,12,0.08);
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 0.85;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--warm-dark);
    max-width: 600px;
    line-height: 1.6;
}

/* PROSE (pages) */
.prose {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.prose h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 40px 0 16px;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--near-black);
    margin: 28px 0 10px;
    font-feature-settings: "calt";
}

.prose p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 20px;
}

.prose ul, .prose ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.prose li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 8px;
}

.prose a {
    color: var(--dark-green);
    border-bottom: 1px solid var(--wise-green);
}

/* ABOUT PAGE */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

.about-grid img {
    border-radius: var(--radius-card);
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header-inner {
        padding: 12px 16px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid rgba(14,15,12,0.12);
        gap: 4px;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 24px;
    }

    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
}
