:root {
    --green: #063f25;
    --green-2: #0b5a35;
    --green-soft: #eef7f1;
    --ink: #14221a;
    --muted: #647067;
    --line: #dfe8e2;
    --white: #ffffff;
    --gold: #b99a54;
}

* {
    letter-spacing: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
}

body.public-site {
    padding-top: 124px;
}

a {
    color: var(--green-2);
    text-decoration: none;
}

.topbar {
    min-height: 36px;
    background: var(--green);
    color: #fff;
    z-index: 1040;
    font-size: .86rem;
    padding: 7px 0;
}

.topbar a {
    color: #fff;
}

.topbar .container > div:first-child {
    line-height: 1.35;
}

.navbar {
    min-height: 88px;
    top: 36px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text {
    color: var(--green);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

.brand-text small {
    font-size: .72rem;
    letter-spacing: .22rem;
}

.nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--green);
}

.btn-brand,
.btn-outline-brand:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.btn-brand:hover {
    background: var(--green-2);
    border-color: var(--green-2);
    color: #fff;
}

.btn-outline-brand {
    color: var(--green);
    border-color: var(--green);
}

.hero,
.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero {
    color: #fff;
}

.hero-slide {
    background:
        linear-gradient(90deg, rgba(6, 63, 37, .95), rgba(6, 63, 37, .72)),
        url('../img/logo.png') right 8% center / 440px no-repeat;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 8px;
    background: var(--gold);
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    min-height: 620px;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 8%;
}

.hero h1,
.page-hero h1,
.section-title,
.card-title,
.admin-title {
    font-family: Georgia, 'Times New Roman', serif;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 5.6rem);
    line-height: .98;
    max-width: 900px;
}

.hero p {
    max-width: 720px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, .86);
}

.eyebrow {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .78rem;
}

.section-padding {
    padding: 88px 0;
}

.section-title {
    color: var(--green);
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.page-hero {
    background: linear-gradient(135deg, var(--green), #0d5e39);
    color: #fff;
    padding: 92px 0;
}

.page-hero p {
    color: rgba(255, 255, 255, .84);
    max-width: 720px;
}

.premium-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(12, 48, 30, .08);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(12, 48, 30, .12);
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green);
    font-size: 1.4rem;
}

.green-band {
    background: var(--green);
    color: #fff;
}

.green-band .section-title,
.green-band .section-lead {
    color: #fff;
}

.soft-band {
    background: var(--green-soft);
}

.team-img,
.blog-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--green-soft);
}

.blog-img {
    height: 230px;
}

.form-control,
.form-select {
    border-radius: 8px;
    border-color: var(--line);
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-2);
    box-shadow: 0 0 0 .2rem rgba(11, 90, 53, .15);
}

.site-footer {
    background: #052d1c;
    color: #fff;
    padding: 64px 0 24px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

.footer-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1;
}

.footer-brand span {
    letter-spacing: .24rem;
    font-size: .82rem;
}

.footer-muted,
.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, .76);
}

.site-footer a {
    display: block;
    margin-bottom: .55rem;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer h6 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: .65rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 42px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, .64);
    font-size: .9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-shell {
    min-height: 100vh;
    background: #f7faf8;
}

.admin-sidebar {
    background: var(--green);
    color: #fff;
    min-height: 100vh;
    padding: 24px 18px;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, .84);
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.admin-content {
    padding: 28px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

@media (max-width: 991px) {
    body.public-site {
        padding-top: 118px;
    }

    .navbar {
        min-height: 78px;
        top: 40px;
    }

    .topbar {
        min-height: 40px;
        font-size: .8rem;
    }

    .hero-slide,
    .hero .carousel,
    .hero .carousel-inner,
    .hero .carousel-item {
        min-height: 560px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .admin-sidebar {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    body.public-site {
        padding-top: 146px;
    }

    .navbar {
        top: 68px;
    }

    .topbar {
        min-height: 68px;
    }

    .brand-text {
        font-size: .85rem;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .section-padding {
        padding: 64px 0;
    }
}
