/* 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: 0px; 
  --radius-md: 0px; 
  --radius-lg: 0px; 
  --radius-xl: 0px;
  --main-font: 'Work Sans', 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, 1.6vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Typography Scale */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
}
h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  color: var(--accent-color);
}
h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--accent-color);
}
p {
  line-height: 1.7;
}

/* NEO-BRUTAL PRESET - MANDATORY LITERAL COPY */
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; padding: 10px;} 
.btn:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 var(--primary-color)} 
h1,h2,h3{text-transform:uppercase;letter-spacing:0.04em;line-height:1.0} 
section+section{border-top:4px solid var(--primary-color)}

/* Header & Nav CSS-only Burger */
header {
  background: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  position: relative;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
header .logo img {
  max-height: 44px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
  z-index: 1001;
}
.bar {
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  z-index: 999;
  padding: 24px;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.1rem;
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media(min-width: 1024px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    border: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* HERO (layered-depth) */
.hero-layered {
  position: relative;
  min-height: 87vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}
.hero-layer-1 {
  position: absolute;
  inset: 0;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.45);
  z-index: 1;
}
.hero-layer-2 {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  background: var(--primary-color);
  opacity: 0.55;
  z-index: 2;
}
.hero-layer-3 {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFBF0;
  max-width: 800px;
  margin: 0 auto;
}
.hero-layered h1 {
  color: #FFFBF0;
  margin-bottom: 24px;
  text-shadow: 3px 3px 0 var(--dark-color);
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.6;
  margin-bottom: 32px;
  color: #FFFBF0;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.hero-actions .btn-primary {
  background: var(--secondary-color);
  color: #FFFBF0;
  border-color: var(--accent-color);
  box-shadow: 6px 6px 0 var(--accent-color);
}
.hero-actions .btn-primary:hover {
  box-shadow: 3px 3px 0 var(--accent-color);
}
.hero-actions .btn-outline {
  background: var(--background-color);
  color: var(--dark-color);
  border-color: var(--accent-color);
  box-shadow: 6px 6px 0 var(--accent-color);
}
.hero-actions .btn-outline:hover {
  box-shadow: 3px 3px 0 var(--accent-color);
}

@media(min-width: 768px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* How It Works Step Cards */
.step-card {
  background: #FFF;
  min-height: 240px;
}
.step-num {
  font-family: var(--main-font);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 12px;
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 50px;
}
.timeline-marker {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 3px solid var(--primary-color);
  z-index: 2;
}
.timeline-date {
  font-family: var(--main-font);
  font-weight: 900;
  color: var(--secondary-color);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.timeline-content {
  background: #FFF;
}

@media(min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
    margin-bottom: 60px;
  }
  .timeline-item.left {
    left: 0;
    padding-right: 40px;
    text-align: right;
  }
  .timeline-item.right {
    left: 50%;
    padding-left: 40px;
    text-align: left;
  }
  .timeline-item.left .timeline-marker {
    left: auto;
    right: -12px;
  }
  .timeline-item.right .timeline-marker {
    left: -12px;
  }
}

/* Animations: Progress Bars Scroll Reveal */
@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(--secondary-color); 
  height: 16px; 
  border-radius: 0;
  border-right: 3px solid var(--primary-color);
}
@keyframes fill-bar { from{--bar:0} to{--bar:var(--pct)} }
.bar-track { background:#E5E7EB; border: 3px solid var(--primary-color); border-radius:0; overflow:hidden; }

/* Scroll-reveal */
@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%;
}

/* Dense Icon Grid */
#dense-grid .card {
  background: #FFF;
  transition: transform .25s, box-shadow .25s;
}
#dense-grid i {
  color: var(--secondary-color);
}

/* CTA Banner Section */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  min-height: 200px;
  display: flex;
  align-items: center;
}
.cta-banner-section h2 {
  color: #FFFBF0;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}
.btn-cta {
  background: var(--background-color);
  color: var(--dark-color);
  border: 3px solid var(--accent-color);
  box-shadow: 6px 6px 0 var(--accent-color);
}
.btn-cta:hover {
  box-shadow: 3px 3px 0 var(--accent-color);
}

/* Form inputs & elements */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 3px solid var(--primary-color);
  border-radius: 0;
  background: var(--background-color);
  color: var(--dark-color);
  font-family: var(--alt-font);
  min-height: 44px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
  outline: 3px solid var(--secondary-color);
}

/* Contact Icons */
#contact-faq i {
  color: var(--secondary-color);
}

/* Footer styling */
footer {
  background: var(--accent-color);
  color: #FFFBF0;
  border-top: 4px solid var(--primary-color);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  max-height: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: #FFFBF0;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
}
.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}

@media(min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-nav {
    flex-direction: row;
    gap: 24px;
  }
}