:root {
    --charcoal: #2c2c2c;
    --charcoal-mid: #3d3d3d;
    --green: #4e8c3a;
    --green-dark: #3a6e2a;
    --green-light: #5fa347;
    --bg: #f5f5f5;
    --white: #ffffff;
    --text: #2c2c2c;
    --text-muted: #666;
    --border: #e0e0e0;
    --max-width: 1100px;
    --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ─── HEADER ─────────────────────────────────────── */
header {
    background: var(--charcoal);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}
.logo-wrap img {
    height: 56px;
    width: auto;
    mix-blend-mode: lighten;
}
.logo-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.logo-name span {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.65;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2.25rem;
}
nav a {
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active {
    color: var(--green-light);
    border-bottom-color: var(--green-light);
    text-decoration: none;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
    position: relative;
    height: 520px;
    background: url('../images/hero.png') center 45% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    padding: 0 2rem;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 2.25rem;
    opacity: 0.93;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 0.85rem 2.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn:hover {
    background: var(--green-dark);
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--green);
    color: var(--green);
}
.btn-outline:hover {
    background: var(--green);
    color: #fff;
}
.btn-light {
    background: #fff;
    color: var(--charcoal);
}
.btn-light:hover {
    background: #eee;
}

/* ─── PAGE HEADER (inner pages) ──────────────────── */
.page-header {
    background: var(--charcoal);
    color: #fff;
    padding: 3.5rem 2rem;
    text-align: center;
}
.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}
.page-header p {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    opacity: 0.75;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── SECTIONS ────────────────────────────────────── */
.section {
    padding: 5rem 2rem;
}
.section.alt {
    background: var(--white);
}
.section.dark {
    background: var(--charcoal);
    color: #fff;
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.6rem;
    line-height: 1.25;
}
.section.dark .section-title {
    color: #fff;
}
.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 3rem;
    line-height: 1.75;
}
.section.dark .section-lead {
    color: #bbb;
}
.green-rule {
    width: 44px;
    height: 4px;
    background: var(--green);
    margin: 0.75rem 0 2.5rem;
    border: none;
}

/* ─── HOME INTRO ──────────────────────────────────── */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 4rem;
    align-items: center;
}
.intro-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.intro-logo {
    text-align: center;
}
.intro-logo img {
    width: 180px;
    margin: 0 auto;
}

/* ─── SERVICES ────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}
.service-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s, transform 0.15s;
}
.service-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}
.service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: #e9f5e4;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── CTA BAND ────────────────────────────────────── */
.cta-band {
    background: var(--charcoal);
    padding: 4rem 2rem;
    text-align: center;
}
.cta-band h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.9rem;
}
.cta-band p {
    font-size: 1.05rem;
    color: #bbb;
    margin-bottom: 2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── ABOUT ───────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}
.about-photo {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
}
.about-credentials {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
    letter-spacing: 0.02em;
}
.about-text p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.1rem;
    color: var(--text);
}

/* ─── BOOKS ───────────────────────────────────────── */
.books-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 680px;
    line-height: 1.75;
}
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.book-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.book-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.book-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
.book-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.book-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.5rem;
}
.book-card .btn {
    font-size: 0.88rem;
    padding: 0.6rem 1.25rem;
    align-self: flex-start;
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-intro {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.contact-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.25rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.1rem;
    align-items: baseline;
    font-size: 1rem;
}
.contact-label {
    font-weight: 600;
    color: var(--charcoal);
    min-width: 65px;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.contact-value a {
    color: var(--text);
}
.contact-value a:hover {
    color: var(--green);
}
.contact-note {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
    background: var(--charcoal);
    color: #888;
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.88rem;
    line-height: 1.9;
}
footer a {
    color: #aaa;
}
footer a:hover {
    color: #fff;
}
.footer-logo {
    height: 52px;
    width: auto;
    margin: 0 auto 1rem;
    mix-blend-mode: lighten;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 800px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }
    nav ul {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero { height: 400px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .intro-grid { grid-template-columns: 1fr; }
    .intro-logo { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 260px; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3.5rem 1.5rem; }
}
