/* =========================================================
   BLUE CARBON PUBLIC WEBSITE
   ========================================================= */

:root {
    --green-950: #062c24;
    --green-900: #083c31;
    --green-800: #0b5142;
    --green-700: #0d6b55;
    --green-600: #16856a;

    --blue-900: #083b4c;
    --blue-700: #0b667e;
    --blue-500: #1b9ab3;

    --sand: #f4f1e8;
    --cream: #fafaf7;
    --white: #ffffff;

    --text: #18332d;
    --muted: #65756f;
    --border: #dfe8e3;

    --shadow-sm:
        0 4px 16px rgba(6, 44, 36, 0.08);

    --shadow-md:
        0 12px 35px rgba(6, 44, 36, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --max-width: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.public-container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(250, 250, 247, 0.94);

    backdrop-filter: blur(12px);

    border-bottom:
        1px solid rgba(223, 232, 227, 0.8);
}

.public-nav {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 800;
}

.brand-mark {
    width: 38px;
    height: 38px;

    border-radius: 12px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--green-800),
            var(--blue-700)
        );

    color: white;

    font-size: 19px;
}

.brand-text {
    line-height: 1.1;
}

.brand-title {
    font-size: 15px;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 500;
}

.public-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.public-nav-links a {
    color: #52645e;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.public-nav-links a:hover {
    color: var(--green-800);
}

.nav-button {
    padding:
        9px
        15px;

    border-radius: 10px;

    background: var(--green-800);

    color: white !important;
}

.nav-button:hover {
    background: var(--green-900);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    padding:
        92px
        0
        80px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(27, 154, 179, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(22, 133, 106, 0.10),
            transparent 30%
        );
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(360px, 0.92fr);

    gap: 65px;

    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;

    padding:
        7px
        11px;

    border:
        1px solid
        #cfe4dc;

    border-radius: 999px;

    background:
        #edf7f3;

    color:
        var(--green-800);

    font-size: 12px;
    font-weight: 800;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--green-600);
}

.hero h1 {
    margin:
        0
        0
        22px;

    max-width: 720px;

    font-size:
        clamp(
            42px,
            6vw,
            72px
        );

    line-height:
        0.98;

    letter-spacing:
        -0.045em;

    color:
        var(--green-950);
}

.hero h1 span {
    color:
        var(--blue-700);
}

.hero-lead {
    max-width: 660px;

    margin:
        0
        0
        30px;

    color:
        var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding:
        0
        18px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 750;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn-primary {
    background:
        var(--green-800);

    color: white;

    box-shadow:
        0 8px 20px
        rgba(8, 60, 49, 0.18);
}

.btn-primary:hover {
    transform:
        translateY(-1px);

    background:
        var(--green-900);
}

.btn-secondary {
    border:
        1px solid
        var(--border);

    background:
        white;

    color:
        var(--text);
}

.btn-secondary:hover {
    transform:
        translateY(-1px);

    box-shadow:
        var(--shadow-sm);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 390px;

    border-radius:
        var(--radius-lg);

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #0a4e43,
            #0b667e
        );

    box-shadow:
        var(--shadow-md);
}

.hero-visual::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.5;

    background:
        linear-gradient(
            135deg,
            transparent 0 40%,
            rgba(255,255,255,0.08) 40% 41%,
            transparent 41% 100%
        );
}

.map-grid {
    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.4) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.4) 1px,
            transparent 1px
        );

    background-size:
        42px 42px;
}

.map-shape {
    position: absolute;

    left: 12%;
    top: 16%;

    width: 72%;
    height: 62%;

    border:
        2px solid
        rgba(255,255,255,0.65);

    border-radius:
        42% 58% 52% 48%
        / 54% 44% 56% 46%;

    transform:
        rotate(-8deg);

    background:
        rgba(24, 160, 135, 0.18);
}

.map-shape::after {
    content: "";

    position: absolute;

    left: 15%;
    top: 20%;

    width: 70%;
    height: 60%;

    border:
        1px dashed
        rgba(255,255,255,0.6);

    border-radius:
        48% 52% 40% 60%;
}

.map-point {
    position: absolute;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 0 7px
        rgba(255,255,255,0.15),
        0 5px 15px
        rgba(0,0,0,0.2);
}

.point-1 {
    left: 32%;
    top: 40%;
}

.point-2 {
    left: 59%;
    top: 53%;
}

.point-3 {
    left: 46%;
    top: 66%;
}

.map-card {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 22px;

    padding: 16px;

    border:
        1px solid
        rgba(255,255,255,0.2);

    border-radius:
        16px;

    background:
        rgba(4, 35, 31, 0.72);

    backdrop-filter:
        blur(12px);

    color: white;
}

.map-card-title {
    font-size: 13px;
    font-weight: 800;
}

.map-card-meta {
    margin-top: 4px;

    color:
        rgba(255,255,255,0.72);

    font-size: 12px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    padding:
        0
        0
        70px;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.stat-card {
    padding:
        22px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        white;

    box-shadow:
        var(--shadow-sm);
}

.stat-value {
    color:
        var(--green-800);

    font-size: 30px;
    font-weight: 850;

    letter-spacing:
        -0.03em;
}

.stat-label {
    margin-top: 3px;

    color:
        var(--muted);

    font-size: 13px;
}


/* =========================================================
   SECTION
   ========================================================= */

.section {
    padding:
        88px
        0;
}

.section-soft {
    background:
        #f1f6f3;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 38px;
}

.section-kicker {
    margin-bottom: 9px;

    color:
        var(--green-700);

    font-size: 12px;
    font-weight: 850;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}

.section-heading h2 {
    margin:
        0
        10px;

    color:
        var(--green-950);

    font-size:
        clamp(
            30px,
            4vw,
            46px
        );

    line-height: 1.08;

    letter-spacing:
        -0.035em;
}

.section-heading p {
    margin: 0;

    color:
        var(--muted);

    font-size: 16px;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 20px;
}

.project-card {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        white;

    box-shadow:
        var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.project-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow-md);
}

.project-cover {
    position: relative;

    min-height: 170px;

    padding: 18px;

    background:
        linear-gradient(
            135deg,
            #0b5142,
            #0b667e
        );

    color: white;

    overflow: hidden;
}

.project-cover::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -90px;
    top: -100px;

    border-radius: 50%;

    border:
        30px solid
        rgba(255,255,255,0.08);
}

.project-cover-code {
    position: relative;
    z-index: 1;

    font-size: 11px;
    font-weight: 800;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;

    opacity: 0.75;
}

.project-cover-title {
    position: relative;
    z-index: 1;

    margin-top: 45px;

    font-size: 21px;
    font-weight: 800;

    line-height: 1.15;
}

.project-content {
    padding: 20px;
}

.project-location {
    color:
        var(--muted);

    font-size: 13px;
}

.project-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}

.project-tag {
    padding:
        5px
        9px;

    border-radius:
        999px;

    background:
        #edf6f2;

    color:
        var(--green-800);

    font-size: 11px;
    font-weight: 750;
}

.project-link {
    display: inline-flex;

    margin-top: 20px;

    color:
        var(--green-800);

    font-size: 13px;
    font-weight: 800;
}

.project-link:hover {
    text-decoration:
        underline;
}

.empty-projects {
    padding: 40px;

    border:
        1px dashed
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        white;

    color:
        var(--muted);

    text-align:
        center;
}


/* =========================================================
   PLATFORM FEATURES
   ========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.feature-card {
    padding:
        25px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        white;
}

.feature-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background:
        #eaf5f1;

    color:
        var(--green-800);

    font-size: 20px;
}

.feature-card h3 {
    margin:
        0
        8px;

    color:
        var(--green-950);

    font-size: 18px;
}

.feature-card p {
    margin: 0;

    color:
        var(--muted);

    font-size: 14px;
}


/* =========================================================
   PUBLIC / TRANSPARENCY
   ========================================================= */

.transparency {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 50px;

    align-items: center;
}

.transparency-list {
    display: grid;

    gap: 12px;

    margin-top: 24px;
}

.transparency-item {
    display: flex;

    gap: 12px;

    padding: 14px;

    border-radius:
        12px;

    background:
        white;

    border:
        1px solid
        var(--border);
}

.check {
    flex: 0 0 auto;

    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        #e8f6f0;

    color:
        var(--green-800);

    font-size: 13px;
    font-weight: 900;
}

.transparency-item strong {
    display: block;

    font-size: 14px;
}

.transparency-item span {
    display: block;

    margin-top: 2px;

    color:
        var(--muted);

    font-size: 12px;
}

.evidence-panel {
    min-height: 330px;

    padding: 30px;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            #083c31,
            #0a5d70
        );

    color: white;

    box-shadow:
        var(--shadow-md);
}

.evidence-panel h3 {
    margin-top: 0;

    font-size: 24px;
}

.evidence-panel p {
    color:
        rgba(255,255,255,0.75);

    font-size: 14px;
}

.evidence-line {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding:
        13px
        0;

    border-bottom:
        1px solid
        rgba(255,255,255,0.12);
}

.evidence-line:last-child {
    border-bottom: 0;
}

.evidence-status {
    padding:
        4px
        8px;

    border-radius:
        999px;

    background:
        rgba(255,255,255,0.12);

    font-size: 10px;
    font-weight: 800;

    text-transform:
        uppercase;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding:
        70px
        0;
}

.cta-box {
    padding:
        48px;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--green-900),
            var(--blue-700)
        );

    color: white;

    text-align:
        center;

    box-shadow:
        var(--shadow-md);
}

.cta-box h2 {
    margin:
        0
        10px;

    font-size:
        clamp(
            28px,
            4vw,
            42px
        );

    line-height:
        1.1;
}

.cta-box p {
    max-width: 650px;

    margin:
        0
        auto
        25px;

    color:
        rgba(255,255,255,0.75);
}

.cta .btn-secondary {
    border-color:
        rgba(255,255,255,0.25);

    background:
        rgba(255,255,255,0.1);

    color: white;
}


/* =========================================================
   FOOTER
   ========================================================= */

.public-footer {
    padding:
        40px
        0;

    border-top:
        1px solid
        var(--border);

    background:
        #f4f7f4;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr;

    gap: 35px;
}

.footer-title {
    margin-bottom: 8px;

    color:
        var(--green-950);

    font-size: 15px;
    font-weight: 800;
}

.footer-text {
    max-width: 420px;

    color:
        var(--muted);

    font-size: 13px;
}

.footer-heading {
    margin-bottom: 9px;

    font-size: 12px;
    font-weight: 800;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;
}

.footer-link {
    display: block;

    margin-bottom: 6px;

    color:
        var(--muted);

    font-size: 13px;
}

.footer-link:hover {
    color:
        var(--green-800);
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 18px;

    border-top:
        1px solid
        var(--border);

    color:
        #8a9892;

    font-size: 11px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hero {
        padding-top: 65px;
    }

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

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

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

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

}

@media (max-width: 650px) {

    .public-container {
        width:
            min(
                calc(100% - 28px),
                var(--max-width)
            );
    }

    .public-nav {
        min-height: 64px;
    }

    .public-nav-links a:not(.nav-button) {
        display: none;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 310px;
    }

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

    .section {
        padding: 65px 0;
    }

    .cta-box {
        padding: 32px 22px;
    }

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

}