:root {
    --primary: #14532d;
    --primary-dark: #0b3520;
    --accent: #c6a15b;
    --text: #202b25;
    --muted: #69756d;
    --surface: #ffffff;
    --soft: #f4f7f3;
    --border: #e4eae5;
    --radius: 16px;
    --shadow: 0 12px 32px rgba(17, 45, 28, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo,
.brand-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-placeholder {
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.brand-text strong {
    font-size: 14px;
    color: var(--primary-dark);
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    font-weight: 700;
}

.main-nav>a,
.nav-dropdown-toggle {
    color: #34463a;
}

.main-nav>a:hover,
.nav-dropdown-toggle:hover {
    color: var(--primary);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    padding: 12px 0;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 235px;
    padding: 8px;
    display: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
}

.nav-dropdown-menu a:hover {
    background: var(--soft);
    color: var(--primary);
}

.nav-psb {
    padding: 11px 16px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    padding: 8px 12px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
}

.hero {
    padding: 100px 0;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(7, 42, 24, .97), rgba(20, 83, 45, .84)),
        linear-gradient(45deg, #14532d, #527d51);
}

.hero-content {
    max-width: 1160px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero p {
    max-width: 650px;
    margin: 22px 0 28px;
    color: rgba(255, 255, 255, .83);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-light {
    color: var(--primary-dark);
    background: #fff;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
}

.section {
    padding: 76px 0;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2,
.cta-panel h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.25;
}

.section-heading p,
.cta-panel p {
    margin: 10px 0 0;
    color: var(--muted);
}

.text-link,
.read-more,
.back-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(20, 40, 24, .03);
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.news-image {
    display: block;
    height: 215px;
    overflow: hidden;
    background: var(--soft);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.news-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(135deg, #e5efe4, #f7f4e9);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.news-content {
    padding: 22px;
}

.news-content time {
    color: var(--muted);
    font-size: 11px;
}

.news-content h3 {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.news-content h3 a:hover {
    color: var(--primary);
}

.news-content p {
    color: var(--muted);
    font-size: 13px;
}

.read-more {
    display: inline-block;
    margin-top: 8px;
}

.empty-state {
    padding: 42px 20px;
    text-align: center;
    background: var(--soft);
    border-radius: var(--radius);
    color: var(--muted);
}

.teacher-placeholder {
    padding: 42px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #c7d5c9;
    border-radius: var(--radius);
}

.teacher-placeholder-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.teacher-placeholder h3 {
    margin: 0 0 8px;
}

.teacher-placeholder p,
.teacher-placeholder small {
    display: block;
    max-width: 650px;
    margin: 8px auto;
    color: var(--muted);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 40px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
}

.cta-panel p {
    color: rgba(255, 255, 255, .8);
}

.page-banner {
    padding: 55px 0;
    background: var(--soft);
}

.page-banner h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
}

.page-banner p {
    margin-bottom: 0;
    color: var(--muted);
}

.article-container {
    max-width: 850px;
}

.article-header {
    margin: 28px 0;
}

.article-header h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
    font-size: 12px;
}

.article-cover {
    width: 100%;
    max-height: 540px;
    margin: 24px 0;
    border-radius: var(--radius);
    object-fit: cover;
}

.article-summary {
    font-size: 18px;
    font-weight: 600;
    color: #47574b;
}

.article-body {
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.9;
}

.article-body img {
    height: auto;
    max-width: 100%;
    border-radius: 10px;
}

.site-footer {
    padding-top: 55px;
    background: #102c1c;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 42px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
}

.footer-grid p,
.footer-grid a {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    padding: 13px 18px;
    border-radius: 30px;
    background: #16834a;
    color: #fff;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 22px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .main-nav>a,
    .nav-dropdown-toggle {
        display: block;
        width: 100%;
        padding: 12px 0;
        text-align: left;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 8px;
    }

    .nav-psb {
        padding: 12px 16px !important;
        margin-top: 8px;
        text-align: center !important;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: 72px;
        gap: 10px;
    }

    .brand-logo,
    .brand-placeholder {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        max-width: 205px;
        font-size: 12px;
    }

    .brand-text small {
        font-size: 10px;
    }

    .hero {
        padding: 68px 0;
    }

    .hero p {
        font-size: 14px;
    }

    .section {
        padding: 52px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-image {
        height: 220px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .article-meta {
        flex-direction: column;
        gap: 5px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }
}