/* palette: pine-copper */
@property --count { syntax: '<integer>'; initial-value: 0; inherits: false; }
@property --bar { syntax: '<integer>'; initial-value: 0; inherits: false; }
@property --deg { syntax: '<integer>'; initial-value: 0; inherits: false; }

:root {
  --primary-color: #1A3325;
  --secondary-color: #253F30;
  --accent-color: #A06830;
  --background-color: #F0F8F2;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --main-font: 'Space Grotesk', 'Montserrat', sans-serif;
  --alt-font: 'DM Sans', sans-serif;
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}

body {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NEO-BRUTAL Preset Core 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:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--primary-color);
}
h1, h2, h3 {
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
}
section + section {
  border-top: 4px solid var(--primary-color);
}

/* Typography scale */
h1 { font-size: clamp(32px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(24px, 4vw, 42px); font-weight: 800; }
h3 { font-size: clamp(18px, 2.8vw, 28px); font-weight: 700; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.kicker {
  display: inline-block;
  font-family: var(--main-font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--accent-color);
  color: #ffffff;
  padding: 4px 10px;
  margin-bottom: 12px;
  border: 2px solid var(--primary-color);
}

.section-header {
  margin-bottom: 32px;
  text-align: left;
}
.section-header p {
  margin-top: 12px;
  max-width: 700px;
  font-size: clamp(15px, 2vw, 18px);
}

/* Header & Navigation (CSS-only burger) */
header {
  background: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  cursor: pointer;
  z-index: 102;
}

.burger-btn .bar {
  height: 4px;
  width: 100%;
  background: var(--primary-color);
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  border-bottom: 4px solid var(--primary-color);
  padding: 24px;
  z-index: 999;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  color: #F5F5F5;
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
  .site-nav a {
    color: var(--primary-color);
    font-size: 0.95rem;
  }
  .site-nav a:hover {
    color: var(--accent-color);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-color);
}

.w-full {
  width: 100%;
}

/* 1. HERO - stats-anchored */
.hero-stats-anchored {
  min-height: 88vh;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-main-content {
  flex: 1;
  background: rgba(26, 51, 37, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hero-text-box {
  max-width: 900px;
  text-align: center;
  color: #ffffff;
}

.badge-tag {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--main-font);
  text-transform: uppercase;
  padding: 6px 16px;
  border: 2px solid #ffffff;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero-text-box h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 760px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
  color: #F0F8F2;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media(min-width: 768px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.hero-stats-bar {
  background: var(--primary-color);
  border-top: 4px solid var(--accent-color);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item {
  border: 2px solid rgba(255,255,255,0.2);
  padding: 16px;
  background: rgba(0,0,0,0.2);
}

.stat-num {
  font-family: var(--main-font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}
.stat-num::after {
  content: counter(n) "%";
}
@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

.stat-label {
  font-family: var(--main-font);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* Cards general styling */
.card {
  background: #ffffff;
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; }
.card:nth-child(4) { animation-delay: .36s; }

/* 2. Testimonial Wall */
.testimonial-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@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 .stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card .quote-text {
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author-info strong {
  display: block;
  font-family: var(--main-font);
  text-transform: uppercase;
}

.testimonial-card .author-info span {
  font-size: 0.85rem;
  color: #666;
}

/* 3. Stats Counter Section */
.section-dark {
  background: var(--secondary-color);
  color: #ffffff;
}
.section-dark h2, .section-dark p {
  color: #ffffff;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .stats-counter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-counter-card {
  color: var(--text-color);
}

.stat-counter-card p {
  color: var(--text-color);
}
.stat-counter-card h3 {
  margin: 12px 0;
  font-size: 1.2rem;
}

/* 4. Expert Quote Section */
.section-quote {
  background: var(--accent-color);
  color: #ffffff;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.quote-symbol {
  font-size: 6rem;
  font-family: serif;
  line-height: 0.5;
  opacity: 0.3;
  margin-bottom: 12px;
}

.expert-quote-text {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  max-width: 880px;
  margin: 0 auto 24px auto;
  line-height: 1.4;
  font-family: var(--alt-font);
}

.quote-author strong {
  display: block;
  font-family: var(--main-font);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.quote-author span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 5. Topic Overview Cards */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.topic-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.topic-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.topic-list {
  margin-top: auto;
  padding-top: 16px;
  list-style: none;
  border-top: 2px dashed var(--border-color);
}

.topic-list li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.topic-list li::before {
  content: "■";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* 6. Values Section */
.values-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .values-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.values-image-box {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.values-image-box img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.image-caption {
  padding: 20px;
  background: var(--primary-color);
  color: #ffffff;
}

.values-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* 7. Contact + FAQ Section */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card h3, .contact-form-card h3 {
  margin-bottom: 16px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  align-items: flex-start;
}

.contact-detail-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--primary-color);
  font-family: var(--alt-font);
  border-radius: 0;
}

.form-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
}

.form-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

/* Open FAQ items */
.faq-main-title {
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item h4 {
  font-family: var(--main-font);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: #ffffff;
  padding: 48px 24px;
  border-top: 4px solid var(--accent-color);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 36px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  text-decoration: underline;
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Scroll reveal animation */
@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%;
}