:root {
  --primary-color: #7C4A10;
  --secondary-color: #54300A;
  --accent-color: #B06A20;
  --light-color: #FDF3E7;
  --dark-color: #241608;
  --gradient-primary: linear-gradient(135deg, #7C4A10 0%, #B06A20 100%);
  --hover-color: #54300A;
  --background-color: #FEFAF4;
  --text-color: #2A1C0C;
  --border-color: rgba(124, 74, 16, 0.18);
  --divider-color: rgba(84, 48, 10, 0.13);
  --shadow-color: rgba(124, 74, 16, 0.13);
  --highlight-color: #5A8A5A;
  --main-font: 'Playfair Display', 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, #FEFAF4 0%, var(--light-color) 100%);
  line-height: 1.6;
  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(2rem, 5vw, 4rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.3; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); line-height: 1.4; }

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.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 {
  background: rgba(255,255,255,0.95);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px 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: 500;
  transition: all 0.3s ease;
}

.navigation a:hover { color: var(--primary-color); }

.grid { display: grid; width: 100%; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 0;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

/* Feature cards: seamless grid tiles, alternating light/tinted background, bottom-border accent */
.feature-card {
  background: #ffffff;
  border: none;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.2rem 1.8rem;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  position: relative;
}

.feature-card:nth-child(even) {
  background: var(--light-color);
}

.feature-card:hover {
  background: rgba(124, 74, 16, 0.06);
  z-index: 1;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.8rem;
  right: 1.8rem;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 2.6rem;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  background: rgba(124, 74, 16, 0.08);
  border-radius: 50%;
  border: 2px solid rgba(124, 74, 16, 0.15);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: rotate(8deg) scale(1.08);
}

.testimonial {
  background: #ffffff;
  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;
  width: 100%;
  position: relative;
  padding-left: 2.5rem;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.8rem;
  left: 1.2rem;
  font-size: 3rem;
  color: var(--accent-color);
  font-family: var(--main-font);
  line-height: 1;
  opacity: 0.4;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--shadow-color);
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  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 {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow-color);
  border-color: var(--accent-color);
}

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.9);
  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(124, 74, 16, 0.1);
  background: white;
}

.btn, button {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 20px rgba(124, 74, 16, 0.28);
}

.btn:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(124, 74, 16, 0.38);
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow-color);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-weight: 500;
}

footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

/* Pattern: subtle honeycomb-like hexagonal dots */
.pattern-bg {
  background-image:
    radial-gradient(circle, rgba(124, 74, 16, 0.07) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(176, 106, 32, 0.05) 1.5px, transparent 1.5px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .features-grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .feature-icon { width: 58px; height: 58px; font-size: 2.2rem; }
  .feature-card, .testimonial, .faq-item { padding: 1.8rem 1.4rem; }
  .stat-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .feature-card, .testimonial, .faq-item { padding: 1.4rem 1rem; }
  .stat-card { padding: 1.2rem; }
  .feature-icon { width: 52px; height: 52px; font-size: 2rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

#contact > div > div { width: 80%; }

@media (max-width: 768px) {
  #contact > div > div { width: 100%; }
}