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

:root {
    --bg: #ffffff;
    --bg-secondary: #f7f7f7;
    --green: #5a7a4e;
    --green-dark: #4a6b3e;
    --green-light: #e8f0e4;
    --text: #222222;
    --text-secondary: #717171;
    --text-muted: #b0b0b0;
    --border: #dddddd;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 12px;
    --transition: 200ms ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

/* ===== Layout ===== */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* ===== Header ===== */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 10;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.01em;
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0 64px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    max-width: 560px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

/* ===== Sections ===== */
.section {
    padding: 0 0 64px;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===== Card Grid ===== */
.card-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), opacity 0.5s ease, translate 0.5s ease;
    opacity: 0;
    translate: 0 24px;
}

.card.visible {
    opacity: 1;
    translate: 0 0;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

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

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

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

.card-body {
    padding: 24px;
    text-align: left;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 12px;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ===== Contact ===== */
.section-contact {
    padding-bottom: 80px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
}

.contact-btn:hover {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
}

.contact-btn svg {
    flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
    padding: 0 0 32px;
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 48px 0 40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}
