:root {
  --primary-color: #8B5E14;
  --secondary-color: #6A4510;
  --accent-color: #D4A035;
  --light-color: #FBF5E6;
  --dark-color: #2C1E07;
  --gradient-primary: linear-gradient(135deg, #B07A1E 0%, #6A4510 100%);
  --hover-color: #7A520F;
  --background-color: #FDFAF3;
  --text-color: #221505;
  --border-color: rgba(139, 94, 20, 0.16);
  --divider-color: rgba(139, 94, 20, 0.12);
  --shadow-color: rgba(106, 69, 16, 0.09);
  --highlight-color: #B2B3B1;
  --main-font: 'Lora', serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.75;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  line-height: 1.45;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(0.97rem, 2vw, 1.08rem);
  line-height: 1.78;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 22px;
  height: 2px;
  background: var(--text-color);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 14px var(--shadow-color);
  border-bottom: 3px solid var(--accent-color);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

/* Navigation */
.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.navigation a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

/* Grid layouts */
.grid {
  display: grid;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

/* Feature Cards — alternating full-width stripe style */
.feature-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
  width: 100%;
}

.feature-card:last-child {
  border-bottom: none;
}

.feature-card:nth-child(even) {
  background: var(--light-color);
  flex-direction: row-reverse;
}

.feature-card:hover {
  background: rgba(212, 160, 53, 0.08);
}

.feature-card:nth-child(even):hover {
  background: rgba(212, 160, 53, 0.12);
}

.feature-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(106, 69, 16, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(106, 69, 16, 0.28);
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-text p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Testimonials */
.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  border-top: 4px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(106, 69, 16, 0.14);
  border-top-color: var(--primary-color);
}

/* FAQ Items */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem;
  width: 100%;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(106, 69, 16, 0.13);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 94, 20, 0.1);
}

/* Buttons */
.btn,
button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(106, 69, 16, 0.3);
  letter-spacing: 0.02em;
}

.btn:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(106, 69, 16, 0.38);
}

/* Pattern Background — warm honeycomb dots */
.pattern-bg {
  background-image:
    radial-gradient(circle, rgba(139, 94, 20, 0.07) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(212, 160, 53, 0.04) 1px, transparent 1px);
  background-size: 30px 30px, 60px 60px;
  background-position: 0 0, 15px 15px;
}

/* Random Content Block — horizontal "Myth vs Fact" comparison table */
.compare-table {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-header-cell {
  padding: 1.1rem 2rem;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.compare-header-cell.myth {
  background: #5D6D7E;
  color: #ffffff;
}

.compare-header-cell.fact {
  background: var(--gradient-primary);
  color: #ffffff;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-color);
}

.compare-row:nth-child(even) .compare-cell {
  background: var(--light-color);
}

.compare-cell {
  padding: 1.2rem 2rem;
  font-size: 0.95rem;
  line-height: 1.65;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.compare-cell:first-child {
  border-right: 1px solid var(--border-color);
}

.compare-cell .cell-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Contact block width */
.contact-wrap {
  width: 80%;
  margin: 0 auto;
}

/* Footer */
footer {
  padding: 3rem 0 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .features-grid {
    border-radius: 10px;
  }

  .feature-card,
  .feature-card:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem 1.4rem;
    gap: 1.2rem;
  }

  .feature-icon {
    width: 68px;
    height: 68px;
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .compare-header,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-cell:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .compare-header-cell.myth {
    display: none;
  }

  .compare-header-cell.fact {
    grid-column: 1 / -1;
  }

  .contact-wrap {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .testimonial,
  .faq-item {
    padding: 1.4rem 1.1rem;
  }

  .feature-card,
  .feature-card:nth-child(even) {
    padding: 1.3rem 1rem;
  }

  .compare-cell {
    padding: 1rem 1.2rem;
  }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}