@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 {
    --black: #0e0f0c;
    --green: #9fe870;
    --dark-green: #163300;
    --mint: #e2f6d5;
    --pastel: #cdffad;
    --gray: #868685;
    --warm-dark: #454745;
    --light-surface: #e8ebe6;
    --white: #ffffff;
    --ring: rgba(14,15,12,0.12);
}

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

body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-feature-settings: "calt";
    background: var(--white);
    color: var(--black);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.44;
    letter-spacing: 0.18px;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---- NAV ---- */
.site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--ring);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: rgba(14,15,12,0.06) 0 1px 0;
}

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

.nav-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--black);
    letter-spacing: -0.5px;
    font-feature-settings: "calt";
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    display: block;
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--black);
    transition: background 0.15s;
    font-feature-settings: "calt";
}

.nav-links a:hover {
    background: rgba(211,242,192,0.4);
    text-decoration: none;
}

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

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

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

/* ---- HERO ---- */
.hero {
    padding: 80px 0 64px;
    background: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 0.85;
    font-feature-settings: "calt";
    color: var(--black);
    max-width: 800px;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

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

.hero-meta {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-img {
    margin-top: 48px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring) 0 0 0 1px;
    aspect-ratio: 16/6;
    object-fit: cover;
    width: 100%;
}

/* ---- BADGES / TAGS ---- */
.tag {
    display: inline-block;
    background: var(--mint);
    color: var(--dark-green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    font-feature-settings: "calt";
}

/* ---- SECTION HEADINGS ---- */
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 12px;
    font-feature-settings: "calt";
}

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

/* ---- CARDS ---- */
.card {
    border: 1px solid var(--ring);
    border-radius: 30px;
    overflow: hidden;
    background: var(--white);
    transition: box-shadow 0.2s, transform 0.2s;
}

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

.card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.card-body { padding: 24px; }

.card-tag { margin-bottom: 12px; }

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

.card-title a:hover { text-decoration: none; color: var(--dark-green); }

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

.card-date {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---- ARTICLE ---- */
.article-header { padding: 60px 0 40px; }

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.article-meta span {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 600;
}

.article-hero-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring) 0 0 0 1px;
    margin-bottom: 56px;
}

.article-hero-img img {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.article-body {
    max-width: 780px;
    margin: 0 auto;
}

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

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

.article-body p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 20px;
}

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

.article-body li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 8px;
}

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

.article-body .info-box {
    background: var(--mint);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    border: 1px solid rgba(159,232,112,0.3);
}

.article-body .info-box p {
    color: var(--dark-green);
    margin-bottom: 0;
    font-weight: 600;
}

.article-body figure {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ring) 0 0 0 1px;
}

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

.article-body figcaption {
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--gray);
    background: var(--light-surface);
    font-style: italic;
}

.article-sources {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--ring);
}

.article-sources h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 16px;
}

.article-sources ul {
    list-style: none;
    padding: 0;
}

.article-sources li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--warm-dark);
}

.article-sources a {
    color: var(--dark-green);
    text-decoration: underline;
}

/* ---- RELATED ARTICLES ---- */
.related-section { padding: 64px 0; background: var(--light-surface); }
.related-section .section-title { margin-bottom: 32px; }

/* ---- INTRO SECTION ---- */
.intro-section { padding: 80px 0; }

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.intro-text p {
    font-size: 1.125rem;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.intro-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring) 0 0 0 1px;
}

.intro-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ---- STATS ROW ---- */
.stats-row {
    background: var(--black);
    padding: 64px 0;
}

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

.stat-item { text-align: center; }

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--green);
    line-height: 0.85;
    font-feature-settings: "calt";
    display: block;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    line-height: 1.4;
}

/* ---- TOPICS ---- */
.topics-section { padding: 80px 0; background: var(--light-surface); }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.topic-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--ring);
    transition: transform 0.15s;
}

.topic-card:hover { transform: scale(1.02); }

.topic-icon {
    width: 48px;
    height: 48px;
    background: var(--mint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.topic-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--black);
    font-feature-settings: "calt";
}

.topic-card p {
    font-size: 1rem;
    color: var(--warm-dark);
    line-height: 1.5;
}

/* ---- ARTICLES SECTION ---- */
.articles-section { padding: 80px 0; }

/* ---- 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: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
    font-feature-settings: "calt";
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--warm-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-detail {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail span {
    font-size: 1rem;
    color: var(--warm-dark);
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid var(--ring);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    font-feature-settings: "calt";
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(14,15,12,0.2);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    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; }

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: var(--dark-green);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-feature-settings: "calt";
    transition: transform 0.15s;
    letter-spacing: -0.108px;
}

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

.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-message.success {
    background: var(--mint);
    color: var(--dark-green);
    border: 1px solid rgba(159,232,112,0.4);
}

.form-loading {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-weight: 600;
    margin-top: 12px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--light-surface);
    border-top-color: var(--dark-green);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 32px;
}

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

.footer-brand .nav-logo {
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

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

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    max-width: 320px;
}

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

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

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

.footer-col a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--green); text-decoration: none; }

.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.875rem; color: rgba(255,255,255,0.4); }

.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* ---- COOKIE BANNER ---- */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 800px;
    background: var(--black);
    color: var(--white);
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 999;
    box-shadow: rgba(14,15,12,0.3) 0 8px 32px;
}

#cookie-banner.hidden { display: none; }

#cookie-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.5; flex: 1; min-width: 220px; }

#cookie-banner a { color: var(--green); text-decoration: underline; }

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

.btn-cookie-accept {
    background: var(--green);
    color: var(--dark-green);
    border: none;
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: transform 0.15s;
}

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

.btn-cookie-reject {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: transform 0.15s;
}

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

/* ---- PAGES (PRIVACY / TERMS / ABOUT) ---- */
.page-header { padding: 60px 0 40px; border-bottom: 1px solid var(--ring); margin-bottom: 56px; }

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--black);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.page-header p { font-size: 1.125rem; color: var(--warm-dark); max-width: 600px; }

.page-content { max-width: 820px; margin: 0 auto; padding-bottom: 80px; }

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 0.95;
    color: var(--black);
    margin: 48px 0 16px;
    font-feature-settings: "calt";
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin: 28px 0 10px;
    font-feature-settings: "calt";
}

.page-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 18px;
}

.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 18px; }

.page-content li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 6px;
}

.page-content a { color: var(--dark-green); text-decoration: underline; }

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.about-focus-item {
    background: var(--light-surface);
    border-radius: 16px;
    padding: 24px;
}

.about-focus-item h3 { margin-top: 0; }

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

.breadcrumb a { color: var(--dark-green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---- DISCLAIMER ---- */
.disclaimer-bar {
    background: var(--light-surface);
    padding: 12px 0;
    border-bottom: 1px solid var(--ring);
}

.disclaimer-bar p {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
    font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .topics-grid { grid-template-columns: 1fr; }
    .intro-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .cards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .about-team-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--ring); padding: 16px 24px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .nav-inner { position: relative; }
    #cookie-banner { bottom: 16px; }
    .hero h1 { font-size: 2.5rem; }
}
