/* palette: pine-copper */
: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: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Merriweather', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

/* Base Styles */
body, html {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--alt-font);
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--primary-color);
  font-weight: 700;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  line-height: 1.3;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 1.25rem;
}

/* BOLD-GEOMETRIC Preset - Mandatory Rules Applied Literally */
section {
  padding: 72px 16px;
}

@media(min-width: 1024px) {
  section {
    padding: 80px 24px;
  }
}

#hero {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

section:nth-child(even) {
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  background-color: #ffffff;
}

.btn {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 14px 28px;
  font-family: var(--alt-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

/* Header & Navigation */
header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  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: 3px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 20px;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-nav a {
  font-family: var(--alt-font);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 0;
  display: block;
}

#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: 1024px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 30px;
  }
  .site-nav a {
    font-size: 1rem;
  }
}

/* Hero Section (Bento Grid Layout) */
#hero {
  background-color: var(--secondary-color);
  padding-top: 80px;
  padding-bottom: 120px;
}

.hero-bento-container {
  max-width: 1200px;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bento-cell {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-color);
}

.main-cell {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
}

.main-cell h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: #e2ede5;
  margin-bottom: 30px;
}

.image-cell {
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 300px;
  border: none;
}

.stat-cell-1 {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
}

.stat-cell-1 h3, .stat-cell-1 p {
  color: #ffffff;
}

.stat-cell-2 {
  background-color: #ffffff;
  color: var(--text-color);
}

.stat-cell-3 {
  background-color: var(--background-color);
  color: var(--primary-color);
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

@media (min-width: 768px) {
  .hero-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-cell {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .hero-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-cell {
    grid-column: span 2;
    grid-row: span 2;
  }
  .image-cell {
    grid-column: span 1;
    grid-row: span 2;
  }
}

/* Buttons Styling */
.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  border: 2px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Cards (General Styling) */
.card {
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

/* Section Common Elements */
.kicker {
  font-family: var(--alt-font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-desc {
  max-width: 600px;
  margin: 10px auto 0;
  color: #555555;
}

/* How It Works Section */
.steps-container {
  position: relative;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  font-family: var(--main-font);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-color);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  right: 15px;
  line-height: 1;
}

/* Timeline Section */
.timeline-wrapper {
  position: relative;
  padding-left: 30px;
  border-left: 3px solid var(--accent-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-color);
  position: absolute;
  left: -39px;
  top: 6px;
  border: 3px solid #ffffff;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 5px;
}

.image-holder img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid var(--primary-color);
}

/* Progress Bars Section */
@property --bar {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.bar-fill {
  --pct: 78;
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
  background-color: var(--accent-color);
  height: 12px;
  border-radius: 999px;
}

@keyframes fill-bar {
  from { --bar: 0; }
  to { --bar: var(--pct); }
}

.bar-track {
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
}

.progress-label {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

.progress-pct {
  font-weight: 700;
  color: var(--accent-color);
}

/* Dense Icon Grid Section */
.icon-dense-grid .icon-card {
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.icon-wrap {
  font-size: 2.2rem;
  color: var(--accent-color);
}

.icon-dense-grid h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

/* CTA Banner Section */
#cta-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.cta-title {
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-subtitle {
  color: #d1e2d7;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Contact & FAQ Section */
#contact-faq {
  background-color: #ffffff;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  width: 40px;
}

.contact-form-block {
  border: 2px solid var(--primary-color);
  background-color: var(--background-color);
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--alt-font);
  background-color: #ffffff;
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* FAQ Styling */
.faq-grid .faq-item {
  border-left: 4px solid var(--accent-color);
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

/* Footer Styling */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  border-top: 4px solid var(--accent-color);
}

footer img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav a {
  color: #d1e2d7;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  color: #a3bfae;
}

/* 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%;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  section {
    padding: 60px 16px;
  }
  
  .btn {
    max-width: 100%;
  }
}