:root {
  --primary-color: #B55C2A;
  --secondary-color: #8A3F18;
  --accent-color: #D4784A;
  --light-color: #FBF0E9;
  --dark-color: #2E1608;
  --gradient-primary: linear-gradient(135deg, #D4784A 0%, #B55C2A 100%);
  --hover-color: #8A3F18;
  --background-color: #FDF7F3;
  --text-color: #3A2218;
  --border-color: rgba(181, 92, 42, 0.2);
  --divider-color: rgba(46, 22, 8, 0.14);
  --shadow-color: rgba(181, 92, 42, 0.12);
  --highlight-color: #F7DC6F;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: linear-gradient(135deg, #FDF7F3 0%, var(--light-color) 100%);
  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;
}

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.6rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); line-height: 1.4; }
p { margin: 0 0 1rem 0; font-size: clamp(0.98rem, 2vw, 1.1rem); line-height: 1.75; }

/* 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: 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.5rem 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 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(280px, 1fr));
  gap: 2rem; width: 100%;
}
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; width: 100%; }

/* Feature Cards — top-accented with large number badge */
.feature-card {
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 6px 24px var(--shadow-color);
  transition: all 0.35s ease;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(181, 92, 42, 0.26);
}
.feature-card-top {
  background: var(--gradient-primary);
  padding: 1.4rem 1.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-number {
  font-family: var(--main-font);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  line-height: 1;
  flex-shrink: 0;
}
.feature-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.feature-card-body {
  padding: 1.4rem 1.8rem 1.8rem;
  flex: 1;
}

/* Testimonials */
.testimonial {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem; margin: 1rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease; backdrop-filter: blur(5px); width: 100%;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(181, 92, 42, 0.22); }

/* FAQ */
.faq-item {
  background: rgba(255,255,255,0.92);
  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;
  backdrop-filter: blur(5px); width: 100%;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(181, 92, 42, 0.22);
  border-color: var(--primary-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(181, 92, 42, 0.13); background: white;
}

/* Buttons */
.btn, button {
  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(181, 92, 42, 0.36);
}
.btn:hover, button:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(181, 92, 42, 0.46); }

/* Stat Cards */
.stat-card {
  background: rgba(255,255,255,0.97); border-radius: 20px;
  padding: 2.5rem 2rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 10px 32px var(--shadow-color);
  transition: all 0.4s ease; backdrop-filter: blur(10px);
  position: relative; overflow: hidden; border: 3px solid transparent;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; background: var(--gradient-primary);
}
.stat-card:hover { transform: translateY(-8px) scale(1.02); border-color: var(--accent-color); }
.stat-number { font-size: clamp(2.8rem, 4vw, 3.5rem); font-weight: 700; color: var(--primary-color); font-family: var(--main-font); line-height: 1; margin-bottom: 1rem; }
.stat-text { font-size: 1.05rem; color: var(--text-color); font-weight: 500; line-height: 1.5; }

/* Trust Indicators */
.trust-indicator {
  background: rgba(255,255,255,0.82); padding: 1.2rem;
  border-radius: 10px; border: 1px solid var(--border-color);
  box-shadow: 0 2px 14px var(--shadow-color);
  transition: all 0.3s ease; text-align: center;
  backdrop-filter: blur(10px); width: 100%;
}
.trust-indicator:hover { transform: translateY(-3px); }

/* Footer */
footer { background: var(--dark-color); color: var(--light-color); padding: 3rem 0 1rem; }
footer img[alt="logo"] { filter: brightness(0) invert(1); }

/* Pattern — diagonal warm dots */
.pattern-bg {
  background-image:
    radial-gradient(circle at 25% 20%, rgba(181, 92, 42, 0.08) 0%, transparent 48%),
    radial-gradient(circle at 75% 80%, rgba(212, 120, 74, 0.07) 0%, transparent 48%),
    radial-gradient(circle at 1px 1px, rgba(181, 92, 42, 0.06) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 28px 28px;
}

/* 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: 1fr; gap: 1.5rem; }
  .grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .feature-card-top { padding: 1.2rem 1.4rem 0.8rem; }
  .feature-card-body { padding: 1.2rem 1.4rem 1.4rem; }
  .testimonial, .faq-item { padding: 1.8rem 1.4rem; }
  .stat-card { padding: 1.5rem; }
  #contact .container > .grid { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .testimonial, .faq-item { padding: 1.4rem 1rem; }
  .stat-card { padding: 1.2rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
}