/* palette: walnut-teal */
:root {
  --primary-color: #3E2010;
  --secondary-color: #5C3018;
  --accent-color: #00695C;
  --background-color: #FAF3EC;
  --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', Georgia, serif;
  --alt-font: 'Roboto', Helvetica, Arial, sans-serif;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
}

/* BOLD-GEOMETRIC Preset Styles */
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: var(--background-color);
}

section:nth-child(odd) {
  background: #ffffff;
}

.btn {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  padding: 14px 28px;
  font-family: var(--alt-font);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff !important;
  border: 2px solid var(--accent-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff !important;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.card {
  border: 2px solid var(--primary-color);
  border-radius: 0;
  box-shadow: 6px 6px 0 var(--primary-color);
  transition: transform 0.25s, box-shadow 0.25s;
  background-color: #ffffff;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--primary-color);
}

/* Header & CSS-only Burger */
header {
  background-color: var(--primary-color);
  position: relative;
  z-index: 100;
}

header .logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 110;
}

.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  padding: 20px;
  z-index: 99;
  border-bottom: 4px solid var(--primary-color);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  text-align: center;
}

.site-nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--alt-font);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.site-nav ul li a:hover {
  color: var(--background-color);
}

#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;
    background-color: transparent;
    padding: 0;
    border-bottom: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Hero Section */
#hero {
  min-height: 85vh;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(62, 32, 16, 0.9) 0%, rgba(92, 48, 24, 0.7) 100%);
  z-index: 1;
}

.hero-subtitle {
  max-width: 700px;
  font-size: clamp(16px, 2vw, 20px);
}

/* Floating Cards in Hero */
.floating-card {
  position: absolute;
  background: #ffffff;
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0 var(--primary-color);
  padding: 20px;
  max-width: 260px;
  z-index: 10;
  text-align: left;
}

.floating-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.floating-card p {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.4;
}

.card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.floating-card-1 {
  top: 44%;
  left: 5%;
  animation: float-1 5s ease-in-out infinite;
}

.floating-card-2 {
  bottom: 18%;
  right: 5%;
  animation: float-2 6s ease-in-out infinite;
}

.floating-card-3 {
  top: 1%;
  right: 8%;
  animation: float-3 5.5s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-15px) rotate(4deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

/* Timeline (Block 14) */
.timeline-container {
  padding-left: 20px;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent-color);
}

.timeline-item {
  position: relative;
  width: 100%;
}

.timeline-badge {
  position: absolute;
  left: -12px;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 5;
}

@media (min-width: 768px) {
  .timeline-container {
    padding-left: 0;
  }
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-badge {
    left: 50%;
    transform: translateX(-50%);
    top: 24px;
  }
}

/* About Section */
.about-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0 var(--primary-color);
}

.about-benefits-list li {
  font-family: var(--alt-font);
  font-size: 15px;
}

/* Testimonial Wall (Block 19) */
.testimonial-wall {
  column-count: 1;
  column-gap: 20px;
}

@media (min-width: 768px) {
  .testimonial-wall {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .testimonial-wall {
    column-count: 3;
  }
}

.testimonial-item {
  break-inside: avoid;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
}

.stars {
  color: #FFB300;
  font-size: 18px;
}

/* Stats Strip (Block 25) */
.stats-strip {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
  padding: 60px 16px;
}

.stat-number {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--background-color);
}

/* Contact & FAQ */
.contact-icon {
  font-size: 20px;
  background-color: var(--background-color);
  padding: 8px;
  border: 1px solid var(--primary-color);
}

.contact-form-block {
  border: 3px solid var(--primary-color);
  box-shadow: 8px 8px 0 var(--primary-color);
}

.contact-form-block input,
.contact-form-block textarea {
  border: 2px solid var(--primary-color);
  border-radius: 0;
}

.contact-form-block input:focus,
.contact-form-block textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* FAQ Fully Open */
.faq-item {
  border-left: 4px solid var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  border-top: 4px solid var(--secondary-color);
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 36px;
  width: auto;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* 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%;
}

/* Responsive Padding Overrides */
@media (max-width: 767px) {
  .timeline-badge {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 12px;
  }
  .timeline-item {
    align-items: flex-start !important;
  }
}