@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;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;
    --off-white: #f9faf7;
    --ring-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
    --font-main: 'Inter', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    font-feature-settings: "calt";
    background: var(--white);
    color: var(--near-black);
    font-weight: 400;
    line-height: 1.44;
    letter-spacing: 0.18px;
    font-size: 18px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a:hover {
    color: var(--wise-green);
}

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.10);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(14,15,12,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--near-black);
    letter-spacing: -0.5px;
    line-height: 1;
    font-feature-settings: "calt";
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.logo span {
    background: var(--wise-green);
    color: var(--dark-green);
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

/* NAV */
.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.site-nav ul li a {
    display: block;
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--near-black);
    transition: background 0.2s, color 0.2s;
    font-feature-settings: "calt";
}

.site-nav ul li a:hover,
.site-nav ul li a.active {
    background: rgba(211,242,192,0.4);
    color: var(--dark-green);
}

.header-cta {
    background: var(--wise-green);
    color: var(--dark-green);
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.15s;
    font-feature-settings: "calt";
    white-space: nowrap;
}

.header-cta:hover {
    transform: scale(1.05);
    color: var(--dark-green);
}

.header-cta:active {
    transform: scale(0.95);
}

/* HAMBURGER */
.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;
}

/* MAIN */
main {
    flex: 1;
}

/* HERO */
.hero {
    background: var(--off-white);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    background: var(--light-mint);
    color: var(--dark-green);
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.hero h1 {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -1.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--warm-dark);
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-meta {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ring-shadow);
    aspect-ratio: 4/3;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STATS BAR */
.stats-bar {
    background: var(--near-black);
    color: var(--white);
    padding: 20px 0;
}

.stats-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--wise-green);
    line-height: 1;
    font-feature-settings: "calt";
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
    font-weight: 600;
}

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

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

.section-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -1px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--warm-dark);
    max-width: 560px;
    font-weight: 400;
}

/* ROCK TYPES GRID */
.rock-types {
    background: var(--off-white);
}

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

.rock-card {
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--ring-shadow);
    overflow: hidden;
    transition: transform 0.2s;
}

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

.rock-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.rock-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.rock-card:hover .rock-card-img img {
    transform: scale(1.05);
}

.rock-card-body {
    padding: 20px 24px 24px;
}

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

.rock-card h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: var(--near-black);
    margin-bottom: 10px;
    font-feature-settings: "calt";
}

.rock-card p {
    font-size: 15px;
    color: var(--warm-dark);
    line-height: 1.5;
}

/* ARTICLES SECTION */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    border-radius: 16px;
    box-shadow: var(--ring-shadow);
    background: var(--white);
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--near-black);
    margin-bottom: 8px;
    font-feature-settings: "calt";
}

.article-card p {
    font-size: 14px;
    color: var(--warm-dark);
    line-height: 1.5;
    flex: 1;
}

.article-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-green);
    border-bottom: 1.5px solid var(--wise-green);
    padding-bottom: 2px;
    transition: opacity 0.2s;
    font-feature-settings: "calt";
}

.article-link:hover {
    opacity: 0.7;
    color: var(--dark-green);
}

/* INFO SECTION */
.info-section {
    background: var(--near-black);
    color: var(--white);
}

.info-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
}

.info-section .section-title {
    color: var(--white);
}

.info-section .section-label {
    color: var(--wise-green);
}

.info-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

.info-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--wise-green);
    border-radius: 50%;
    margin-top: 6px;
}

.info-img {
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTACT FORM */
.contact-section {
    background: var(--off-white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    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;
    border: 1px solid rgba(14,15,12,0.18);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--near-black);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-feature-settings: "calt";
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--wise-green);
    box-shadow: 0 0 0 3px rgba(159,232,112,0.2);
}

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

.btn-primary {
    background: var(--wise-green);
    color: var(--dark-green);
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
    font-family: var(--font-main);
    font-feature-settings: "calt";
    letter-spacing: -0.1px;
    width: 100%;
}

.btn-primary:hover {
    transform: scale(1.03);
}

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

.contact-info {
    padding-top: 8px;
}

.contact-info h3 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--near-black);
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.contact-info p {
    color: var(--warm-dark);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--near-black);
}

.contact-details li strong {
    font-weight: 700;
    min-width: 60px;
    color: var(--dark-green);
}

/* FOOTER */
.site-footer {
    background: var(--near-black);
    color: rgba(255,255,255,0.75);
    padding: 48px 0 24px;
}

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

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    font-feature-settings: "calt";
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    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;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.footer-bottom a {
    color: rgba(255,255,255,0.45);
}

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

/* ARTICLE PAGE */
.article-hero {
    background: var(--off-white);
    padding: 48px 0 0;
}

.article-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--dark-green);
}

.breadcrumb span {
    margin: 0 6px;
}

.article-hero h1 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1.2px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 20px;
}

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

.article-info .tag {
    background: var(--light-mint);
    color: var(--dark-green);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 13px;
}

.article-cover {
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    margin-top: 32px;
}

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

.article-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.6px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 40px 0 16px;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 28px 0 12px;
}

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

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
    color: var(--warm-dark);
    font-size: 17px;
    line-height: 1.7;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    color: var(--near-black);
    font-weight: 700;
}

.article-body a {
    color: var(--dark-green);
    border-bottom: 1px solid var(--wise-green);
}

.article-body a:hover {
    opacity: 0.7;
}

.info-box {
    background: var(--light-mint);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 32px 0;
    border-left: 4px solid var(--wise-green);
}

.info-box p {
    margin: 0;
    font-size: 16px;
    color: var(--dark-green);
    font-weight: 600;
}

.article-footer-nav {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(14,15,12,0.1);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

.page-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-hero h1 {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -1.2px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: var(--warm-dark);
    max-width: 540px;
}

.page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--near-black);
    font-feature-settings: "calt";
    margin: 36px 0 14px;
}

.page-content p,
.page-content li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--warm-dark);
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
    margin: 0 0 16px 24px;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--near-black);
    color: var(--white);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

#cookie-banner p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    flex: 1;
    min-width: 200px;
    margin: 0;
}

#cookie-banner a {
    color: var(--wise-green);
}

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

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

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

.btn-cookie-reject {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font-main);
}

.btn-cookie-reject:hover {
    background: rgba(255,255,255,0.2);
}

/* DISCLAIMER */
.disclaimer-bar {
    background: var(--light-mint);
    padding: 10px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--dark-green);
    font-weight: 600;
}

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

    .hero-img {
        display: none;
    }

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

    .info-inner {
        grid-template-columns: 1fr;
    }

    .info-img {
        display: none;
    }

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

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

@media (max-width: 576px) {
    .site-nav {
        display: none;
        width: 100%;
        order: 3;
    }

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

    .site-nav ul {
        flex-direction: column;
        padding: 8px 0 16px;
        align-items: flex-start;
    }

    .nav-toggle {
        display: flex;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .header-cta {
        display: none;
    }

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

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

    .stats-inner {
        gap: 24px;
    }

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