:root {
  --primary-color: #7A4F2D;
  --secondary-color: #5C3519;
  --accent-color: #C49A6C;
  --light-color: #FBF5EE;
  --dark-color: #2B1A0A;
  --gradient-primary: linear-gradient(135deg, #C49A6C 0%, #7A4F2D 100%);
  --hover-color: #5C3519;
  --background-color: #F9F4EE;
  --text-color: #2B1E12;
  --border-color: rgba(122, 79, 45, 0.17);
  --divider-color: rgba(43, 26, 10, 0.12);
  --shadow-color: rgba(122, 79, 45, 0.10);
  --highlight-color: #D4A843;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}

* { 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; }

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.3rem); line-height: 1.3; }
h3 { font-size: clamp(1rem, 3vw, 1.3rem); line-height: 1.4; }
p { margin: 0 0 1rem 0; font-size: clamp(0.97rem, 2vw, 1.05rem); 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);
}
.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;
  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.5rem 0;
  position: relative; z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
}
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; font-size: 0.93rem; letter-spacing: 0.02em; transition: all 0.3s ease; }
.navigation a:hover { color: var(--primary-color); }

.grid { display: grid; width: 100%; }

/* Feature cards — «газетные колонки» с горизонтальным правилом и drop-cap иконкой */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.4rem 2rem;
  width: 100%;
}
.feature-card {
  background: transparent;
  border-top: 3px solid var(--primary-color);
  padding-top: 1.4rem;
  width: 100%;
  transition: all 0.25s ease;
}
.feature-card:hover { border-top-color: var(--accent-color); }
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}
.feature-drop {
  font-family: var(--main-font);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--primary-color);
  font-family: var(--main-font);
}
.feature-card p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.72;
  margin: 0;
  border-left: 2px solid var(--border-color);
  padding-left: 0.9rem;
}

/* Testimonials — цитаты в колонку с золотой полосой слева */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  width: 100%;
}
.testimonial {
  background: #fff;
  border-radius: 8px;
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: 0 2px 14px var(--shadow-color);
  border-bottom: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  width: 100%;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 8px 26px rgba(122,79,45,0.16); }
.testimonial-text {
  color: var(--text-color);
  font-size: 0.97rem;
  line-height: 1.72;
  font-style: italic;
  margin: 0 0 1rem;
}
.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.88rem;
  font-style: normal;
  letter-spacing: 0.03em;
}

/* FAQ — accordion-look, полностью открытые */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 780px; margin: 0 auto; }
.faq-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-item h3 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.faq-item h3::before {
  content: '▸';
  color: var(--accent-color);
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.18rem;
}
.faq-item p { margin: 0; color: var(--text-color); font-size: 0.95rem; padding-left: 1.3rem; }

/* 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.95);
  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(122,79,45,0.11); 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: 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(122,79,45,0.28);
}
.btn:hover, button:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(122,79,45,0.40); }

/* Footer */
footer { background: var(--dark-color); color: var(--light-color); padding: 3rem 0 1rem; }
footer img[alt="logo"] { filter: brightness(0) invert(1); }

/* Pattern — тёплые ромбы */
.pattern-bg {
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(122,79,45,0.04) 0px,
      rgba(122,79,45,0.04) 1px,
      transparent 1px,
      transparent 22px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(122,79,45,0.04) 0px,
      rgba(122,79,45,0.04) 1px,
      transparent 1px,
      transparent 22px
    ),
    radial-gradient(ellipse at 85% 15%, rgba(196,154,108,0.08) 0%, transparent 50%);
}

/* Contact width */
#contact .container > .grid { max-width: 80%; margin: 0 auto; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .features-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial { padding: 1.4rem 1.2rem; }
  #contact .container > .grid { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .feature-drop { font-size: 2rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
}