/* palette: forest-amber */
:root {
  --primary-color: #1B5E20;
  --secondary-color: #2E7D32;
  --accent-color: #E8A020;
  --background-color: #F2FAF2;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: #1B5E20;
  
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Base Styles */
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.bg-dark {
  background-color: var(--dark-color);
  color: #FFFFFF;
}

/* NEO-BRUTAL PRESET RULES */
section {
  padding: 40px 16px;
  margin: 0;
}
@media(min-width:1024px) {
  section {
    padding: 48px 24px;
  }
}
.card, .btn {
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0 var(--primary-color);
  border-radius: 0;
}
.btn {
  display: inline-block;
  font-family: var(--main-font);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  min-height: 44px;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--primary-color);
}
h1, h2, h3, h4 {
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
  color: var(--dark-color);
}
section + section {
  border-top: 4px solid var(--primary-color);
}

/* Typography Scale */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 1rem;
}
h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

/* Header & Mobile Navigation */
.site-header {
  border-bottom: 4px solid var(--primary-color);
  background: #FFFFFF;
  position: relative;
  z-index: 1000;
}
.logo img {
  height: 48px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 999;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-nav a {
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: 1.1rem;
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media(min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* HERO SECTION (stats-anchored) */
.hero-section {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.hero-upper {
  min-height: 55vh;
  position: relative;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}
@media(min-width: 1024px) {
  .hero-upper {
    background-attachment: fixed;
    min-height: 60vh;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
}
.hero-content h1 {
  color: #FFFFFF;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: clamp(16px, 2vw, 20px);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
@media(min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}
.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-color);
}
.btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 6px 6px 0 #FFFFFF;
}
.btn-outline:hover {
  box-shadow: 3px 3px 0 #FFFFFF;
}

/* Stats Anchored Bar */
.hero-stats-bar {
  background-color: var(--primary-color);
  border-top: 4px solid var(--primary-color);
  padding: 24px 16px;
  color: #FFFFFF;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-label {
  font-family: var(--main-font);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Scroll-reveal Section Animations */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Stats Counters Animation */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
.stat-num {
  --target: 100;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
  font-family: var(--main-font);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
}
.stat-num::after {
  content: counter(n);
}
@keyframes count-up {
  from {
    --count: 0;
  }
  to {
    --count: var(--target);
  }
}
.stat-suffix {
  font-family: var(--main-font);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent-color);
}

/* Testimonial Wall */
.testimonial-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media(min-width: 768px) {
  .testimonial-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(min-width: 1024px) {
  .testimonial-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonial-card {
  background: #FFFFFF;
  padding: 24px;
}
.testimonial-card .stars {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-card .author {
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
}
.testimonial-card .location {
  font-size: 0.85rem;
  color: #666666;
}

/* Stats Counter Section Blocks */
.bg-light {
  background-color: var(--background-color);
}
.stat-card {
  background: #FFFFFF;
  padding: 32px 16px;
}
.stat-card-label {
  font-family: var(--main-font);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Expert Quote Section */
.expert-quote-section {
  background-color: var(--primary-color);
  color: #FFFFFF;
  position: relative;
}
.expert-quote-section blockquote {
  font-family: var(--main-font);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  line-height: 1.3;
}
.quote-icon {
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -2rem;
}
.quote-author {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Topic Overview Cards */
.topic-card {
  background: #FFFFFF;
  overflow: hidden;
}
.topic-img-wrapper {
  position: relative;
  min-height: 200px;
}
.topic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topic-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-color);
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.topic-list li {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Values Section */
.value-card {
  background: #FFFFFF;
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact & FAQ */
.contact-info, .contact-form-wrapper, .faq-container {
  background: #FFFFFF;
}
.contact-item {
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
}
.contact-form-wrapper input, .contact-form-wrapper textarea {
  background-color: var(--background-color);
}
.faq-item {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 1.5rem;
}
.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.faq-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Footer styling */
.site-footer {
  border-top: 4px solid var(--primary-color);
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.site-footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* General Layout Utilities */
.kicker {
  display: block;
  font-family: var(--main-font);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-desc {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #666666;
}
@media(max-width: 767px) {
  .hero-stats-bar .grid {
    gap: 1.5rem;
  }
}