@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@600;700&family=Source+Code+Pro:wght@400;500&family=Inter:wght@400;500;600&display=swap');

:root {
  --clr-bg: #f4f1ec;
  --clr-surface: #ffffff;
  --clr-surface-alt: #eae6df;
  --clr-primary: #2c5f4a;
  --clr-primary-light: #3a7d62;
  --clr-accent: #c87941;
  --clr-accent-light: #e09960;
  --clr-text: #2d2d2d;
  --clr-text-muted: #6b6b6b;
  --clr-border: #d5d0c8;
  --clr-dark: #1a1a1a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;
  --font-mono: 'Source Code Pro', monospace;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --max-w: 1200px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

header {
  background: linear-gradient(135deg, var(--clr-dark) 0%, #2a3a30 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo span { color: var(--clr-accent-light); }

.nav-desktop { display: flex; gap: 28px; align-items: center; }
.nav-desktop a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.nav-desktop a:hover { color: var(--clr-accent-light); }

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 200;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: all var(--transition);
  border-radius: 2px;
}
.burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--clr-dark);
  z-index: 150;
  padding: 80px 32px 32px;
  transition: right var(--transition);
  box-shadow: -4px 0 30px rgba(0,0,0,0.3);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--clr-accent-light); }
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 140;
}
.mobile-overlay.show { display: block; }

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2e23 0%, #2c4a3a 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  color: #fff;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  opacity: 0.9;
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section { padding: 72px 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--clr-text);
}
.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--clr-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.article-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.article-card-body { padding: 24px; }
.article-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary);
  background: rgba(44,95,74,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.article-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card h3 a { color: var(--clr-text); }
.article-card h3 a:hover { color: var(--clr-primary); }
.article-card p {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.article-card-meta {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split-section-text h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.split-section-text p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--clr-surface);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--clr-primary);
}
.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--clr-text);
}
.info-card p {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.contact-section {
  background: var(--clr-surface);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.contact-info strong { color: var(--clr-text); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  background: var(--clr-bg);
  color: var(--clr-text);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
  align-self: flex-start;
}
.contact-form button:hover { background: var(--clr-primary-light); }

footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand { font-family: var(--font-heading); font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--clr-accent-light); }
.footer-desc { font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--clr-accent-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--clr-dark);
  color: #fff;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-inner p { font-size: 0.88rem; line-height: 1.6; flex: 1; }
.cookie-inner p a { color: var(--clr-accent-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity var(--transition);
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-accept { background: var(--clr-primary); color: #fff; }
.cookie-reject { background: rgba(255,255,255,0.15); color: #fff; }

.page-hero {
  background: linear-gradient(135deg, #1a2e23 0%, #2c4a3a 100%);
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero p { opacity: 0.85; font-size: 1.05rem; max-width: 600px; }

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--clr-text);
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--clr-text);
}
.article-content p {
  margin-bottom: 18px;
  line-height: 1.8;
  color: var(--clr-text);
}
.article-content img {
  border-radius: var(--radius);
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.article-content ul,
.article-content ol {
  margin: 16px 0 24px 24px;
  line-height: 1.85;
  color: var(--clr-text);
}
.article-content li { margin-bottom: 6px; }
.article-content a { color: var(--clr-primary); text-decoration: underline; }
.article-content blockquote {
  border-left: 4px solid var(--clr-accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--clr-surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--clr-text-muted);
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}
.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary);
  background: rgba(44,95,74,0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.related-articles {
  background: var(--clr-surface-alt);
  padding: 56px 0;
}
.related-articles .section-title { text-align: center; }
.related-articles .section-subtitle { text-align: center; margin: 0 auto 40px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.related-card {
  background: var(--clr-surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-md); }
.related-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.related-card h3 a { color: var(--clr-text); }
.related-card h3 a:hover { color: var(--clr-primary); }
.related-card p { color: var(--clr-text-muted); font-size: 0.88rem; line-height: 1.6; }

.text-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}
.text-page h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 36px 0 14px;
}
.text-page h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 28px 0 10px;
}
.text-page p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--clr-text);
}
.text-page ul {
  margin: 12px 0 20px 24px;
  line-height: 1.8;
}
.text-page a { color: var(--clr-primary); text-decoration: underline; }

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-top: 12px;
}

@media (max-width: 992px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .contact-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .burger-btn { display: block; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: 400px; }
  .articles-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 2rem; }
  .related-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .contact-section { padding: 32px 24px; }
}
