:root {
  --primary-color: #9C4A2B;
  --secondary-color: #7A3520;
  --accent-color: #D4845A;
  --light-color: #FDF0E8;
  --dark-color: #3B1A0F;
  --gradient-primary: linear-gradient(135deg, #C2613A 0%, #7A3520 100%);
  --hover-color: #A8502E;
  --background-color: #FDFAF7;
  --text-color: #2E1A10;
  --border-color: rgba(156, 74, 43, 0.18);
  --divider-color: rgba(156, 74, 43, 0.12);
  --shadow-color: rgba(156, 74, 43, 0.09);
  --highlight-color: #F2D57F;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', 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.1rem, 3vw, 1.35rem);
  line-height: 1.45;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
}

/* 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: 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 14px var(--shadow-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: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.navigation a:hover {
  color: var(--primary-color);
}

/* Grid layouts */
.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: 1.5rem;
  width: 100%;
}

/* Feature Cards — horizontal icon+text layout */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.8rem 2rem;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.35s ease;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  text-align: left;
}

.feature-card:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(156, 74, 43, 0.15);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(212, 132, 90, 0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(156, 74, 43, 0.15);
  transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

/* Testimonials */
.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  border-bottom: 4px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(156, 74, 43, 0.13);
  border-bottom-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 {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(156, 74, 43, 0.12);
  border-color: var(--accent-color);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  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(156, 74, 43, 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: 6px;
  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 3px 12px rgba(156, 74, 43, 0.28);
  letter-spacing: 0.02em;
}

.btn:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(156, 74, 43, 0.36);
}

/* Statistics Cards */
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.35s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(156, 74, 43, 0.15);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Pattern Background — warm geometric lines */
.pattern-bg {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(156, 74, 43, 0.03) 28px, rgba(156, 74, 43, 0.03) 56px),
    repeating-linear-gradient(-45deg, transparent, transparent 28px, rgba(212, 132, 90, 0.025) 28px, rgba(212, 132, 90, 0.025) 56px);
  background-size: 80px 80px;
}

/* Random Content Block — Steps/Checklist style */
.steps-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.step-item {
  padding: 2.2rem 1.8rem;
  background: #ffffff;
  border-right: 1px solid var(--border-color);
  position: relative;
  transition: background 0.3s;
}

.step-item:last-child {
  border-right: none;
}

.step-item:hover {
  background: var(--light-color);
}

.step-number {
  font-family: var(--main-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.8rem;
  opacity: 0.6;
}

.step-item h4 {
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.6rem 0;
}

.step-item p {
  font-size: 0.92rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

/* 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 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .feature-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 2.1rem;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.6rem 1.3rem;
  }

  .steps-block {
    grid-template-columns: 1fr 1fr;
  }

  .step-item {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .contact-wrap {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.3rem 1rem;
  }

  .feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.9rem;
  }

  .steps-block {
    grid-template-columns: 1fr;
  }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}