/* 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(62, 32, 16, 0.2);
  --shadow-sm: 4px 4px 0 var(--primary-color);
  --shadow-md: 6px 6px 0 var(--primary-color);
  --shadow-lg: 8px 8px 0 var(--primary-color);
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Typography scale */
h1 {
  font-family: var(--main-font);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  color: var(--primary-color);
}

h2 {
  font-family: var(--main-font);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary-color);
}

h3 {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--primary-color);
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

/* NEO-BRUTAL LITERAL 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 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
}

section + section {
  border-top: 4px solid var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff !important;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff !important;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

/* Header & Navigation */
header {
  background-color: var(--background-color);
  border-bottom: 4px solid var(--primary-color);
  position: relative;
}

.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: 1001;
}

.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  z-index: 999;
  border-bottom: 4px solid var(--primary-color);
  padding: 16px;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.site-nav a {
  font-family: var(--main-font);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: 18px;
  display: block;
  padding: 8px 0;
}

/* Checked burger states */
#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;
    border-bottom: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
  .site-nav a {
    font-size: 16px;
    padding: 0;
  }
}

/* Hero Section (cinematic-bottom-left) */
#hero {
  position: relative;
  min-height: 90vh;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
  color: #ffffff;
  padding: 24px 16px;
}

@media (min-width: 1024px) {
  .hero-content {
    position: absolute;
    bottom: 64px;
    left: 48px;
    padding: 0;
  }
}

.hero-content h1 {
  color: #ffffff;
  font-weight: 300;
  margin-bottom: 16px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

/* Section 1: Stats Strip */
#stats {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 16px;
}

.stat-value {
  font-family: var(--main-font);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  color: #FAF3EC;
}

.stat-label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(250, 243, 236, 0.85);
}

/* Section 2: Feature Spotlight */
.spotlight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .spotlight-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.spotlight-img-wrapper {
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0 var(--primary-color);
  overflow: hidden;
  min-height: 300px;
  display: flex;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-block {
  background-color: var(--accent-color);
}

.kiker {
  font-family: var(--main-font);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.spotlight-text h3 {
  margin-bottom: 16px;
}

.spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.spotlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.spotlight-list i {
  color: var(--accent-color);
}

@media (min-width: 1024px) {
  .spotlight-row.reverse .spotlight-img-wrapper {
    order: 2;
  }
  .spotlight-row.reverse .spotlight-text {
    order: 1;
  }
}

/* Section 3: Interactive Checklist */
.checklist-item {
  border-bottom: 2px dashed var(--border-color);
  padding-bottom: 12px;
}

.checklist-item:last-child {
  border-bottom: none;
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary-color);
  display: inline-block;
  position: relative;
  background-color: #ffffff;
  flex-shrink: 0;
}

.interactive-checklist input:checked + label .custom-checkbox {
  background-color: var(--accent-color);
}

.interactive-checklist input:checked + label .custom-checkbox::after {
  content: "✓";
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
}

.interactive-checklist input:checked + label span:last-child {
  text-decoration: line-through;
  color: var(--accent-color);
}

/* Section 4: Split Testimonial */
.split-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .split-testimonial-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.testimonial-quote-side {
  position: relative;
}

.quote-mark {
  font-family: var(--main-font);
  font-size: 8rem;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 0.8;
  position: absolute;
  top: -20px;
  left: 0;
}

.testimonial-text {
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 22px);
  position: relative;
  z-index: 1;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-size: 28px;
  font-weight: 700;
  border: 3px solid var(--primary-color);
}

/* Section 5: CTA Banner */
#cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Section 6: Contact & FAQ */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--primary-color);
  border-radius: 0;
  background-color: #ffffff;
  font-family: var(--alt-font);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 3px 3px 0 var(--primary-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq-item {
  height: 100%;
}

.faq-question {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #FAF3EC;
  border-top: 4px solid var(--primary-color);
}

footer img {
  filter: brightness(0) invert(1);
  height: 40px;
}

footer a {
  color: rgba(250, 243, 236, 0.8);
  transition: color 0.2s;
}

footer a:hover {
  color: #ffffff;
}

/* Scroll reveal class */
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}