/* palette: gold-charcoal */
:root {
  --primary-color: #8A5800;
  --secondary-color: #B07800;
  --accent-color: #1C2A35;
  --background-color: #FFFBF0;
  --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: 'Montserrat', sans-serif;
  --alt-font: 'Poppins', sans-serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* MOBILE-FIRST (SOFT-ORGANIC PRESET - COPY LITERALLY) */
section{padding:56px 16px;margin:0} @media(min-width:1024px){section{padding:72px 24px}} body{line-height:1.85} .card{border-radius:24px;box-shadow:0 4px 6px rgba(0,0,0,0.05),0 10px 40px rgba(0,0,0,0.08)} .btn{border-radius:9999px;padding:14px 32px} .icon-circle{width:52px;height:52px;border-radius:50%;background:var(--accent-color);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem}

/* Typography scale */
h1 {
  font-family: var(--main-font);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-family: var(--main-font);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent-color);
  margin-bottom: 16px;
}
h3 {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--accent-color);
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
}

.section-kicker {
  font-family: var(--main-font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  display: block;
  margin-bottom: 8px;
}

/* Header & Menu */
header {
  background: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 100;
}
.logo img {
  max-height: 44px;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 110;
}
.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  box-shadow: var(--shadow-md);
  padding: 24px;
  z-index: 99;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-nav a {
  font-weight: 600;
  color: var(--accent-color);
  transition: color 0.2s;
}
.site-nav a:hover {
  color: var(--primary-color);
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(8px) 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);
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Hero Section: layered-depth */
.hero-layered {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-layer-1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.5);
}
.hero-layer-2 {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  background: var(--primary-color);
  opacity: 0.55;
}
.hero-layer-3 {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-content h1 {
  color: #ffffff;
  margin-bottom: 24px;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Cards & Grid styling */
.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Timeline (Middle 1) */
.timeline-container {
  position: relative;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: var(--primary-color);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 50px;
}
.timeline-badge {
  position: absolute;
  left: 6px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}
.timeline-content {
  padding: 24px;
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    margin-left: -1.5px;
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
  }
  .timeline-item.left {
    left: 0;
    padding-right: 40px;
    text-align: right;
  }
  .timeline-item.right {
    left: 50%;
    padding-left: 40px;
  }
  .timeline-badge {
    left: auto;
    right: -16px;
  }
  .timeline-item.right .timeline-badge {
    left: -16px;
    right: auto;
  }
}

/* About Section (Middle 2) */
.about-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Testimonial Wall (Middle 4) */
.testimonial-wall {
  column-count: 1;
  column-gap: 24px;
}
.testimonial-item {
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 24px;
}
.stars {
  color: #fbbf24;
}
@media (min-width: 768px) {
  .testimonial-wall {
    column-count: 2;
  }
}

/* Stats Strip (Middle 5) */
.stats-strip {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}
.stat-number {
  font-family: var(--main-font);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  display: block;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--alt-font);
  background: var(--background-color);
  color: var(--text-color);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus {
  border-color: var(--primary-color);
}

/* Footer */
footer {
  background: var(--accent-color);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer img {
  filter: brightness(0) invert(1);
}
footer a {
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.2s;
}
footer a:hover {
  opacity: 1;
}

/* Scroll-reveal 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%;
}

/* CSS-only @property Counter support */
@property --count { syntax:'<integer>'; initial-value:0; inherits:false; }
.stat-num {
  --target: 80;
  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)} }

/* Progress-bars */
@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: var(--accent-color); height:12px; border-radius:999px;
}
@keyframes fill-bar { from{--bar:0} to{--bar:var(--pct)} }
.bar-track { background:var(--border-color); border-radius:999px; overflow:hidden; }

/* Donut-charts */
@property --deg { syntax:'<integer>'; initial-value:0; inherits:false; }
.donut {
  --target-deg: 245;
  width:120px; height:120px; border-radius:50%;
  background: conic-gradient(var(--accent-color) calc(var(--deg)*1deg), var(--border-color) 0);
  animation: fill-donut 2s ease-out forwards;
  animation-timeline: view(); animation-range: entry 0% entry 60%;
}
@keyframes fill-donut { from{--deg:0} to{--deg:var(--target-deg)} }