:root {
  --gp-primary: #6DAE3C;
  --gp-primary-dark: #508C25;
  --gp-primary-light: #E8F5D8;
  --gp-secondary: #FFB524;
  --gp-secondary-light: #FFF3DA;
  --gp-dark: #1A2E05;
  --gp-gray-900: #212529;
  --gp-gray-700: #495057;
  --gp-gray-500: #6c757d;
  --gp-gray-200: #e9ecef;
  --gp-gray-100: #f8f9fa;
  --gp-white: #ffffff;
  --gp-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gp-heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gp-radius-sm: 6px;
  --gp-radius-md: 12px;
  --gp-radius-lg: 24px;
  --gp-radius-pill: 50px;
  --gp-shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
  --gp-transition: 0.35s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--gp-body-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gp-gray-700);
  background: var(--gp-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gp-primary); text-decoration: none; transition: color var(--gp-transition); }
a:hover { color: var(--gp-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gp-heading-font);
  font-weight: 700;
  color: var(--gp-gray-900);
  line-height: 1.25;
}

.gp-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--gp-primary); color: var(--gp-white);
  padding: 8px 16px; border-radius: var(--gp-radius-pill);
  z-index: 10000; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--gp-white); }

/* TOPBAR */
.topbar {
  background: var(--gp-primary);
  border-radius: 0 0 200px 100px;
  padding: 10px 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--gp-white); letter-spacing: 0.5px;
}
.topbar a { color: var(--gp-white); }
.topbar a:hover { color: var(--gp-secondary); }
@media (max-width: 767px) { .topbar { display: none; } }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--gp-white);
  border-bottom: 1px solid var(--gp-gray-200);
  transition: box-shadow var(--gp-transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.navbar-brand { font-size: 1.75rem; font-weight: 800; color: var(--gp-primary); letter-spacing: -0.5px; }
.navbar-brand:hover { color: var(--gp-primary-dark); }
.navbar-brand img { height: 36px; width: auto; display: inline-block; vertical-align: middle; margin-right: 8px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 18px; border-radius: var(--gp-radius-pill);
  font-size: 0.95rem; font-weight: 600; color: var(--gp-gray-700);
  transition: all var(--gp-transition);
}
.nav-links a:hover, .nav-links a.active { background: var(--gp-primary-light); color: var(--gp-primary-dark); }

.hamburger {
  display: none; background: none; border: 2px solid var(--gp-primary);
  border-radius: var(--gp-radius-sm); width: 44px; height: 44px;
  cursor: pointer; position: relative; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gp-primary); border-radius: 2px; transition: all var(--gp-transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--gp-white); flex-direction: column;
    padding: 16px 20px; border-bottom: 2px solid var(--gp-primary-light);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 18px; width: 100%; }
}

/* HERO */
.hero { background: linear-gradient(135deg, var(--gp-primary-light) 0%, var(--gp-white) 60%); padding: 80px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }

.hero-label {
  display: inline-block; background: var(--gp-secondary); color: var(--gp-dark);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 20px; border-radius: var(--gp-radius-pill); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--gp-dark); margin-bottom: 20px; line-height: 1.15; }
.hero-subtitle { font-size: 1.1rem; color: var(--gp-gray-500); margin-bottom: 32px; max-width: 520px; line-height: 1.8; }
.hero-subtitle p { margin: 0; }

.btn-pill {
  display: inline-block; padding: 14px 36px; border-radius: var(--gp-radius-pill);
  font-weight: 700; font-size: 0.95rem; border: 2px solid transparent;
  cursor: pointer; transition: all var(--gp-transition); text-align: center;
}
.btn-primary-fill { background: var(--gp-primary); color: var(--gp-white); border-color: var(--gp-primary); }
.btn-primary-fill:hover {
  background: var(--gp-primary-dark); border-color: var(--gp-primary-dark); color: var(--gp-white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(109,174,60,0.3);
}
.btn-outline { background: transparent; color: var(--gp-primary); border-color: var(--gp-secondary); }
.btn-outline:hover { background: var(--gp-secondary); color: var(--gp-dark); border-color: var(--gp-secondary); }

.hero-visual { position: relative; }
.hero-visual-inner {
  background: var(--gp-secondary-light); border-radius: var(--gp-radius-lg) 60px var(--gp-radius-lg) 60px;
  padding: 40px; position: relative;
}
.hero-visual-inner::before {
  content: ""; position: absolute; width: 80px; height: 80px;
  background: var(--gp-secondary); border-radius: 50%; top: -20px; right: -10px; opacity: 0.4;
}
.hero-visual-inner::after {
  content: ""; position: absolute; width: 50px; height: 50px;
  background: var(--gp-primary); border-radius: 50%; bottom: -15px; left: 20px; opacity: 0.3;
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat {
  background: var(--gp-white); border-radius: var(--gp-radius-md);
  padding: 24px 20px; text-align: center; border: 1px solid var(--gp-gray-200);
}
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--gp-primary); line-height: 1.2; }
.hero-stat span { font-size: 0.82rem; color: var(--gp-gray-500); text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
}

/* SECTIONS */
.section { padding: 72px 0; }
.section-alt { background: var(--gp-gray-100); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; text-align: left; }
.section-lead { color: var(--gp-gray-500); font-size: 1.05rem; margin-bottom: 40px; max-width: 560px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

/* TOPICS */
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.topic-card {
  background: var(--gp-white); border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-md); padding: 32px 28px;
  position: relative; transition: all var(--gp-transition); overflow: hidden;
}
.topic-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--gp-secondary);
  border-radius: 0 4px 4px 0; transform: scaleY(0); transition: transform var(--gp-transition);
}
.topic-card:hover { border-color: var(--gp-secondary); box-shadow: var(--gp-shadow-hover); }
.topic-card:hover::before { transform: scaleY(1); }

.topic-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--gp-dark); }
.topic-card-desc { font-size: 0.92rem; color: var(--gp-gray-500); line-height: 1.7; }
.topic-card-desc p { margin: 0; }

.topic-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--gp-primary-light);
  color: var(--gp-primary); font-weight: 800; font-size: 0.85rem;
  border-radius: 50%; margin-bottom: 16px; position: relative;
}
.topic-num::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  background: var(--gp-secondary); border-radius: 3px;
  bottom: -4px; right: -4px; transform: rotate(45deg); opacity: 0.6;
}

/* LATEST POSTS */
.posts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.posts-layout .post-card:first-child { grid-row: 1 / 3; }
.posts-layout .post-card:first-child .post-card-img { height: 280px; }

.post-card {
  background: var(--gp-white); border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-md); overflow: hidden;
  transition: all var(--gp-transition); display: flex; flex-direction: column;
}
.post-card:hover { border-color: var(--gp-primary); box-shadow: var(--gp-shadow-hover); }

.post-card-img { height: 180px; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.08); }

.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-date { display: inline-block; font-size: 0.78rem; color: var(--gp-gray-500); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-card-title { font-size: 1.1rem; margin-bottom: 12px; line-height: 1.35; }
.post-card-title a { color: var(--gp-gray-900); transition: color var(--gp-transition); }
.post-card-title a:hover { color: var(--gp-primary); }
.post-card-excerpt { font-size: 0.9rem; color: var(--gp-gray-500); line-height: 1.7; flex: 1; }
.post-card-excerpt p { margin: 0; }
.post-card-link {
  display: inline-block; margin-top: 16px; font-size: 0.88rem;
  font-weight: 600; color: var(--gp-primary);
  border-bottom: 2px solid var(--gp-secondary); padding-bottom: 2px;
  transition: all var(--gp-transition);
}
.post-card-link:hover { color: var(--gp-primary-dark); border-bottom-color: var(--gp-primary); }

@media (max-width: 768px) {
  .posts-layout { grid-template-columns: 1fr; }
  .posts-layout .post-card:first-child { grid-row: auto; }
}

/* FAQ */
.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--gp-white); border: 1px solid var(--gp-gray-200);
  border-radius: var(--gp-radius-md); overflow: hidden;
  transition: border-color var(--gp-transition);
}
.faq-item.open { border-color: var(--gp-primary); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; background: none; border: none; width: 100%;
  font-family: var(--gp-heading-font); font-size: 1rem; font-weight: 600;
  color: var(--gp-gray-900); text-align: left; transition: color var(--gp-transition);
}
.faq-question:hover { color: var(--gp-primary); }
.faq-question:focus { outline: 2px solid var(--gp-primary); outline-offset: -2px; }

.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gp-primary-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--gp-transition);
}
.faq-icon::before { content: "+"; font-size: 1.1rem; font-weight: 700; color: var(--gp-primary); line-height: 1; }
.faq-item.open .faq-icon { background: var(--gp-primary); transform: rotate(45deg); }
.faq-item.open .faq-icon::before { color: var(--gp-white); }
.faq-answer { display: none; padding: 0 24px 24px; font-size: 0.95rem; color: var(--gp-gray-500); line-height: 1.8; }
.faq-answer p { margin-bottom: 8px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* BLOG INDEX */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
@media (max-width: 480px) { .blog-grid { grid-template-columns: 1fr; } }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: var(--gp-radius-pill); border: 1px solid var(--gp-gray-200);
  font-size: 0.9rem; font-weight: 600; color: var(--gp-gray-700);
  transition: all var(--gp-transition);
}
.pagination a:hover { border-color: var(--gp-secondary); background: var(--gp-secondary-light); color: var(--gp-dark); }
.pagination a.active, .pagination span.active { background: var(--gp-primary); color: var(--gp-white); border-color: var(--gp-primary); }

/* SINGLE POST */
.post-header { padding: 48px 0 24px; }
.post-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 800px; margin-bottom: 16px; }
.post-meta { font-size: 0.88rem; color: var(--gp-gray-500); text-transform: uppercase; letter-spacing: 0.5px; }
.post-cover { border-radius: var(--gp-radius-lg); overflow: hidden; margin-bottom: 40px; max-height: 480px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-excerpt {
  font-size: 1.15rem; color: var(--gp-gray-500);
  border-left: 4px solid var(--gp-secondary); padding-left: 20px;
  margin-bottom: 32px; line-height: 1.8;
}
.post-excerpt p { margin: 0; }

.post-content { max-width: 780px; font-size: 1.05rem; line-height: 1.85; }
.post-content h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.post-content h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 18px; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote {
  border-left: 4px solid var(--gp-secondary); margin: 24px 0;
  padding: 16px 24px; background: var(--gp-gray-100);
  border-radius: 0 var(--gp-radius-sm) var(--gp-radius-sm) 0;
  color: var(--gp-gray-700); font-style: italic;
}
.post-content img { border-radius: var(--gp-radius-md); margin: 24px 0; }
.post-content a { color: var(--gp-primary); border-bottom: 1px solid var(--gp-secondary); }
.post-content a:hover { color: var(--gp-primary-dark); }

/* PAGE */
.page-header-section { background: var(--gp-primary-light); padding: 48px 0; margin-bottom: 48px; }
.page-header-section h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-content { max-width: 780px; font-size: 1.05rem; line-height: 1.85; padding-bottom: 48px; }
.page-content h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.page-content h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.page-content p { margin-bottom: 18px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 18px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--gp-primary); border-bottom: 1px solid var(--gp-secondary); }
.page-content img { border-radius: var(--gp-radius-md); margin: 20px 0; }

/* FOOTER */
.site-footer { background: var(--gp-dark); color: rgba(255,255,255,0.55); padding: 56px 0 0; margin-top: 48px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--gp-primary); display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 0.88rem; color: var(--gp-secondary); margin-bottom: 16px; }
.footer-heading { font-size: 0.9rem; font-weight: 700; color: var(--gp-white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.92rem; transition: color var(--gp-transition), padding-left var(--gp-transition); }
.footer-links a:hover { color: var(--gp-secondary); padding-left: 6px; }
.footer-contact a { color: var(--gp-secondary); }
.footer-contact a:hover { color: var(--gp-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; margin-top: 32px; font-size: 0.84rem; }

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* BACK TO TOP */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--gp-primary); color: var(--gp-white);
  border: 2px solid var(--gp-secondary); display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
  opacity: 0; visibility: hidden; transition: all var(--gp-transition);
  cursor: pointer; z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gp-primary-dark); transform: translateY(-4px); color: var(--gp-white); }

/* BANNER */
.banner-section { background: var(--gp-secondary); padding: 56px 0; }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.banner-text h2 { font-size: 1.6rem; color: var(--gp-dark); margin-bottom: 8px; }
.banner-text p { color: rgba(26,46,5,0.7); font-size: 1rem; margin: 0; }
.btn-dark-fill { background: var(--gp-dark); color: var(--gp-white); border-color: var(--gp-dark); }
.btn-dark-fill:hover { background: var(--gp-gray-900); color: var(--gp-white); border-color: var(--gp-gray-900); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
