*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #16a34a;
  --green-dark: #14532d;
  --green-light: #dcfce7;
  --green-mid: #22c55e;
  --text: #1c1917;
  --text-muted: #78716c;
  --bg: #fafaf9;
  --white: #ffffff;
  --border: #e7e5e4;
  --r: 14px;
}
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.site-header { background: var(--white); border-bottom: 2px solid var(--green-light); position: sticky; top: 0; z-index: 100; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { font-size: 26px; }
.brand-name strong { display: block; font-size: 20px; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.brand-name em { font-style: normal; font-size: 13px; color: var(--green); font-weight: 600; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--text-muted); transition: all 0.2s; }
.main-nav a:hover, .main-nav a.active { background: var(--green-light); color: var(--green-dark); }
.hamburger { display: none; background: none; border: 2px solid var(--border); padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 18px; }
.mobile-menu { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); }
.mobile-menu a { padding: 12px 24px; font-weight: 700; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* Hero */
.hero-blog { position: relative; min-height: 500px; display: flex; align-items: center; overflow: hidden; }
.hero-image-wrap { position: absolute; inset: 0; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,83,45,0.88) 0%, rgba(22,163,74,0.5) 100%); }
.hero-text { position: relative; z-index: 1; color: var(--white); padding: 80px 0; max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.hero-text h1 { font-family: 'Lora', serif; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 18px; }
.hero-text p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-green { background: var(--white); color: var(--green-dark); padding: 13px 26px; border-radius: 8px; font-weight: 800; font-size: 15px; transition: transform 0.2s; }
.cta-green:hover { transform: translateY(-2px); }
.cta-ghost { border: 2px solid rgba(255,255,255,0.6); color: var(--white); padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.cta-ghost:hover { background: rgba(255,255,255,0.1); }

/* Highlights bar */
.highlights-bar { background: var(--green-dark); padding: 18px 0; }
.highlights-bar .wrap { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.highlight-item { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 700; }
.hi-icon { font-size: 20px; }

/* Blog section */
.blog-section { padding: 64px 0; }
.section-intro { text-align: center; margin-bottom: 40px; }
.section-intro h2 { font-family: 'Lora', serif; font-size: 2rem; margin-bottom: 8px; }
.section-intro p { color: var(--text-muted); font-size: 15px; }
.section-intro-h { font-family: 'Lora', serif; font-size: 1.8rem; margin-bottom: 32px; }
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.post-featured { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.post-img-wrap { position: relative; height: 280px; overflow: hidden; }
.post-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-featured:hover .post-img-wrap img { transform: scale(1.04); }
.post-tag { position: absolute; top: 16px; left: 16px; background: var(--green); color: var(--white); padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 800; }
.post-content { padding: 28px; }
.post-content h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.post-content p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.post-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.author-info, .post-date { font-size: 13px; color: var(--text-muted); }
.read-btn { margin-left: auto; background: var(--green); color: var(--white); padding: 8px 18px; border-radius: 8px; font-weight: 700; font-size: 13px; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.widget-title { font-size: 16px; font-weight: 800; margin-bottom: 16px; color: var(--green-dark); border-bottom: 2px solid var(--green-light); padding-bottom: 10px; }
.recent-posts { display: flex; flex-direction: column; gap: 14px; }
.recent-post { display: flex; gap: 12px; }
.recent-post img { width: 70px; height: 55px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.rp-tag { display: inline-block; font-size: 10px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.recent-post p { font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--text); }
.newsletter-widget p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.newsletter-widget input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; margin-bottom: 10px; font-family: inherit; outline: none; }
.newsletter-widget button { width: 100%; background: var(--green); color: var(--white); padding: 10px; border: none; border-radius: 8px; font-weight: 800; font-size: 14px; cursor: pointer; }

/* Cards */
.cards-section { background: var(--green-light); padding: 64px 0; }
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic-card { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s; display: block; }
.topic-card:hover { transform: translateY(-4px); }
.topic-card img { width: 100%; height: 180px; object-fit: cover; }
.tc-body { padding: 20px; }
.tc-body h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.tc-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.tc-link { color: var(--green); font-weight: 800; font-size: 13px; }

/* Quote */
.quote-section { background: var(--green-dark); padding: 56px 0; }
.quote-section blockquote { text-align: center; max-width: 700px; margin: 0 auto; }
.quote-section blockquote p { font-family: 'Lora', serif; font-size: 1.4rem; color: var(--white); line-height: 1.6; margin-bottom: 16px; }
.quote-section cite { color: var(--green-mid); font-size: 14px; font-weight: 700; }

/* Tips grid */
.tips-grid-section { padding: 64px 0; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-card { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s; }
.tip-card:hover { transform: translateY(-4px); }
.tip-card img { width: 100%; height: 190px; object-fit: cover; }
.tip-body { padding: 20px; }
.tip-tag { display: inline-block; background: var(--green-light); color: var(--green-dark); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; margin-bottom: 10px; }
.tip-body h4 { font-size: 14px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.tip-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.tip-body a { color: var(--green); font-weight: 700; font-size: 13px; }

/* Footer */
.site-footer { background: #1c1917; color: #a8a29e; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding: 56px 24px 40px; }
.brand-col .brand-name strong { color: var(--white); }
.brand-col p { margin-top: 14px; font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 800; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 13px; }
.footer-bar { border-top: 1px solid #292524; padding: 18px 0; text-align: center; font-size: 12px; }

/* Cookie */
.cookie-notice { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #1c1917; color: var(--white); padding: 16px 24px; border-radius: var(--r); display: flex; align-items: center; gap: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); z-index: 999; max-width: 560px; width: calc(100% - 40px); }
.cookie-notice p { font-size: 13px; }
.cookie-notice a { color: var(--green-mid); }
.cookie-notice button { background: var(--green); color: var(--white); border: none; padding: 8px 18px; border-radius: 8px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.cookie-notice.hidden { display: none; }

/* Page header */
.page-top { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); padding: 56px 0; color: var(--white); text-align: center; }
.page-top h1 { font-family: 'Lora', serif; font-size: 2.4rem; margin-bottom: 10px; }
.page-top p { font-size: 15px; opacity: 0.85; }

/* Content pages */
.content-section { padding: 64px 0; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-layout img { border-radius: var(--r); width: 100%; height: 380px; object-fit: cover; }
.about-layout h2 { font-family: 'Lora', serif; font-size: 1.8rem; margin-bottom: 18px; }
.about-layout p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-box { background: var(--white); padding: 40px; border-radius: var(--r); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.contact-box h2 { font-family: 'Lora', serif; font-size: 1.6rem; margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.form-row input, .form-row textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--green); }
.form-row textarea { height: 110px; resize: vertical; }
.btn-send { background: var(--green); color: var(--white); padding: 13px 28px; border: none; border-radius: 8px; font-weight: 800; font-size: 15px; cursor: pointer; width: 100%; }
.ci-item { display: flex; gap: 14px; margin-bottom: 22px; }
.ci-icon { font-size: 22px; }
.ci-item h4 { font-weight: 800; margin-bottom: 4px; }
.ci-item p { font-size: 13px; color: var(--text-muted); }
.legal-page { padding: 64px 0; }
.legal-box { max-width: 780px; margin: 0 auto; background: var(--white); padding: 48px; border-radius: var(--r); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.legal-box h2 { font-family: 'Lora', serif; font-size: 1.4rem; color: var(--green-dark); margin: 28px 0 14px; }
.legal-box p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }

@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .cards-row { grid-template-columns: 1fr 1fr; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .highlights-bar .wrap { gap: 24px; }
  .cards-row { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .cookie-notice { flex-direction: column; text-align: center; }
}
