:root {
  --primary-forest: #1e3a29;
  --primary-dark: #122419;
  --primary-pine: #2d553d;
  --accent-amber: #d97706;
  --accent-terracotta: #c2410c;
  --accent-sand: #fbf8f2;
  --surface-cream: #f4efe6;
  --surface-card: #ffffff;
  --text-main: #1c261e;
  --text-muted: #546458;
  --border-subtle: #dcd4c7;
  --border-focus: #2d553d;
  --shadow-sm: 0 2px 6px rgba(18, 36, 25, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 36, 25, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 36, 25, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-fast: 0.2s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--accent-sand);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--primary-pine);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-terracotta);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* UNSTUCK / NON-STICKY SLIM HEADER */
.site-header {
  position: static;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 1rem;
  max-width: 1240px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-forest);
  letter-spacing: -0.02em;
}

.brand-logo svg {
  flex-shrink: 0;
}

.brand-accent {
  color: var(--accent-amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links li a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 4px;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: var(--accent-terracotta);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-forest);
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-cta-btn:hover {
  background-color: var(--accent-terracotta) !important;
}

/* Slim Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text-main);
}

.mobile-nav-toggle svg {
  display: block;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-forest);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-drawer ul li a {
  font-size: 1rem;
  font-weight: 600;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f0eae1;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, rgba(30, 58, 41, 0.95), rgba(18, 36, 25, 0.97)), url('images/photo-1464822759023-fed622ff2c3b.png') center/cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(217, 119, 6, 0.25);
  border: 1px solid var(--accent-amber);
  color: #fef08a;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.125rem;
  color: #d1dcce;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-amber);
  color: #1a1a1a;
}

.btn-primary:hover {
  background-color: #b45309;
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: var(--primary-forest);
}

/* SECTION UTILITIES */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--surface-cream);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* CARDS GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e5dec9;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-forest);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #798a7d;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1ece4;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  background-color: var(--surface-cream);
  color: var(--primary-forest);
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.card-btn:hover {
  background-color: var(--primary-forest);
  color: #ffffff;
  border-color: var(--primary-forest);
}

/* ARTICLE / DETAIL PAGES */
.article-page {
  padding: 3rem 0 5rem;
}

.article-header {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.article-header .section-subtitle {
  font-size: 0.9rem;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.5rem 0 1rem;
}

.article-meta-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.article-feature-image {
  max-width: 980px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-feature-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--surface-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--primary-forest);
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: #2b382d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content ul, 
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #2b382d;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.article-callout {
  background-color: #f7f3ec;
  border-left: 4px solid var(--accent-terracotta);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-callout p {
  margin: 0;
  font-style: italic;
  font-weight: 500;
  color: #38483b;
}

.resource-box {
  background-color: #eaf1ed;
  border: 1px solid #c2d6ca;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 2rem;
}

.resource-box h4 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.resource-box a {
  font-weight: 700;
  text-decoration: underline;
}

/* FORMS */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #c6bcac;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background-color: #fcfbf8;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-forest);
  background-color: #ffffff;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* MANDATORY UNIVERSAL FOOTER */
.site-footer {
  background-color: var(--primary-dark);
  color: #e2ede4;
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 3px solid var(--accent-amber);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.footer-brand p {
  color: #a8b8ac;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #a8b8ac;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--accent-amber);
}

.footer-address {
  font-style: normal;
  color: #a8b8ac;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #8c9e90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: #8c9e90;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(18, 36, 25, 0.98);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 1rem 1.5rem;
  z-index: 9999;
  border-top: 2px solid var(--accent-amber);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.88rem;
  color: #d1dcce;
}

.cookie-text a {
  color: #fef08a;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-cookie-accept {
  background-color: var(--accent-amber);
  color: #122419;
  border: none;
}

.btn-cookie-accept:hover {
  background-color: #b45309;
  color: #ffffff;
}

.btn-cookie-pref {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-cookie-pref:hover {
  border-color: #ffffff;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .article-content {
    padding: 1.5rem;
  }
}