:root {
  --primary-color: #966A08;
  --secondary-color: #6E4C06;
  --accent-color: #D4A017;
  --light-color: #FDF8E8;
  --dark-color: #1F1500;
  --gradient-primary: linear-gradient(135deg, #E8C547 0%, #966A08 100%);
  --hover-color: #6E4C06;
  --background-color: #FEFBF0;
  --text-color: #2A1F00;
  --border-color: rgba(150, 106, 8, 0.2);
  --divider-color: rgba(31, 21, 0, 0.15);
  --shadow-color: rgba(150, 106, 8, 0.12);
  --highlight-color: #F8F0C0;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
  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(--primary-color);
  margin: 0 0 1rem 0;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.05rem, 3vw, 1.4rem); line-height: 1.4; }
p { margin: 0 0 1rem 0; font-size: clamp(1rem, 2vw, 1.08rem); line-height: 1.78; }

/* Hamburger */
.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);
  backdrop-filter: blur(5px);
}
.hamburger .line {
  width: 22px; height: 2px;
  background: var(--primary-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;
  backdrop-filter: blur(10px);
  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: 500;
  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 18px var(--shadow-color);
  backdrop-filter: blur(10px);
}
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; transition: all 0.3s ease; }
.navigation a:hover { color: var(--primary-color); }

/* Grid */
.grid { display: grid; width: 100%; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.6rem;
  width: 100%;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

/* Feature Cards — dark tile style */
.feature-card {
  background: var(--dark-color);
  border-radius: 16px;
  padding: 2.2rem 1.6rem 1.8rem;
  transition: all 0.35s ease;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 16px;
}
.feature-card:hover::after { opacity: 0.12; }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(150, 106, 8, 0.35);
}
.feature-icon {
  font-size: 2.8rem;
  width: 80px; height: 80px;
  background: rgba(232, 197, 71, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem auto;
  border: 2px solid rgba(232, 197, 71, 0.3);
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}
.feature-card:hover .feature-icon {
  background: rgba(232, 197, 71, 0.28);
  border-color: rgba(232, 197, 71, 0.6);
}
.feature-card h3 {
  color: #F8F0C0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}
.feature-card p {
  color: rgba(255, 248, 220, 0.78);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  border-bottom: 4px solid var(--accent-color);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(150, 106, 8, 0.2);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem 1.8rem 4.5rem;
  width: 100%;
  position: relative;
}
.faq-item::before {
  content: '?';
  position: absolute;
  left: 1.4rem;
  top: 1.7rem;
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 2rem;
  text-align: center;
}
.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 5px 22px rgba(150, 106, 8, 0.2);
  border-color: var(--accent-color);
}

/* Form */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 8px;
  padding: 1rem 1.2rem; background: rgba(255,255,255,0.92);
  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(150, 106, 8, 0.13); background: white;
}

/* Buttons */
.btn, button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary); color: #1F1500;
  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(150, 106, 8, 0.35);
}
.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(150, 106, 8, 0.45);
}

/* Pattern — subtle warm cross-hatch */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(150, 106, 8, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(232, 197, 71, 0.09) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 36px, rgba(150, 106, 8, 0.03) 36px, rgba(150, 106, 8, 0.03) 37px),
    repeating-linear-gradient(90deg, transparent, transparent 36px, rgba(150, 106, 8, 0.03) 36px, rgba(150, 106, 8, 0.03) 37px);
}

/* Contact width */
#contact .container > .grid { max-width: 80%; margin: 0 auto; }

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .faq-item { padding: 1.6rem 1.4rem 1.6rem 4rem; }
  #contact .container > .grid { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.8rem 1.2rem 1.5rem; }
  .faq-item { padding: 1.4rem 1.2rem 1.4rem 3.8rem; }
  .faq-item::before { left: 1.1rem; top: 1.4rem; }
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
}