:root {
  --primary-color: #B87333;
  --secondary-color: #8C5420;
  --accent-color: #E8C07A;
  --light-color: #FDF8F0;
  --dark-color: #1C1208;
  --gradient-primary: linear-gradient(135deg, #D4924A 0%, #B87333 100%);
  --hover-color: #8C5420;
  --background-color: #FBF6EE;
  --text-color: #2C1E0A;
  --border-color: rgba(184, 115, 51, 0.18);
  --divider-color: rgba(140, 84, 32, 0.12);
  --shadow-color: rgba(184, 115, 51, 0.12);
  --highlight-color: #2D7D6F;
  --main-font: 'Cormorant Garamond', serif;
  --alt-font: 'Nunito', sans-serif;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}
.hamburger .line {
  width: 28px; height: 3px;
  background-color: var(--light-color);
  margin: 3px 0; transition: 0.3s; border-radius: 2px;
}
#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: var(--secondary-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15); 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: 1.1rem 1.6rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 10px; transition: all 0.3s ease;
  font-size: 1.05rem; font-weight: 500; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(5px);
}

/* Feature Cards — стиль "карточки с номером": большой номер на фоне + текст */
.feature-card {
  transition: all 0.35s ease;
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 2.6rem 2rem 2rem 2rem;
  box-shadow: 0 5px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  text-align: center;
}
.feature-card-bg-num {
  position: absolute;
  top: -0.4rem;
  right: 0.8rem;
  font-size: 6rem;
  font-family: var(--main-font);
  font-weight: 700;
  color: rgba(184,115,51,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(184,115,51,0.22);
  border-color: var(--accent-color);
}
.feature-card:hover .feature-card-bg-num {
  color: rgba(184,115,51,0.14);
}
.feature-icon {
  font-size: 2.6rem;
  width: 72px; height: 72px;
  display: flex; justify-content: center; align-items: center;
  background: linear-gradient(135deg, #FDF0DA 0%, #E8C07A 100%);
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  margin: 0 auto 1.2rem auto;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(184,115,51,0.2);
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  border-color: var(--secondary-color);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(184,115,51,0.35);
}

/* Testimonials */
.testimonial {
  transition: all 0.3s ease;
  position: relative;
  background: white;
  padding: 2.2rem 2rem 1.8rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px var(--shadow-color);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
}
.testimonial:nth-child(2) { border-left-color: var(--highlight-color); }
.testimonial:nth-child(3) { border-left-color: var(--accent-color); }
.testimonial:nth-child(4) { border-left-color: var(--secondary-color); }
.testimonial:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(184,115,51,0.2);
}

/* FAQ */
.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: white;
  padding: 2rem 2rem 2rem 3.5rem;
  margin: 1.4rem 0;
  border-radius: 16px;
  box-shadow: 0 3px 10px var(--shadow-color);
}
.faq-item::before {
  content: '?';
  position: absolute; top: 1.5rem; left: -15px;
  width: 36px; height: 36px;
  background: var(--gradient-primary); color: white;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: bold; font-size: 1.2rem;
}
.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 22px rgba(184,115,51,0.18);
  border-color: var(--primary-color);
}

input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px;
  padding: 1.1rem; background-color: white;
  color: var(--text-color); font-size: 1rem;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(184,115,51,0.12); transform: scale(1.01);
}
input:hover, textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px var(--shadow-color);
}

button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.2rem 2.6rem; border-radius: 50px; 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 6px 16px rgba(184,115,51,0.35);
  text-transform: uppercase; letter-spacing: 1px;
}
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(184,115,51,0.42);
  background: linear-gradient(135deg, #8C5420 0%, #1C1208 100%);
}

html { scroll-behavior: smooth; }
.hero { position: relative; background: var(--primary-color); }
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; line-height: 1.3; }
body { font-family: var(--alt-font); color: var(--text-color); background-color: var(--background-color); line-height: 1.7; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.1rem; }
  .container { padding: 0 1.5rem; }
  .feature-card { padding: 2rem 1.4rem 1.6rem; }
  .feature-icon { width: 58px; height: 58px; font-size: 2rem; }
  .testimonial, .faq-item { padding: 1.7rem; }
  #contact .grid { max-width: 100% !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .feature-card { padding: 1.8rem 1.2rem 1.4rem; }
  .testimonial, .faq-item { margin: 0.9rem 0; padding: 1.4rem; }
}
@media (min-width: 768px) {
  #contact .grid { max-width: 80% !important; }
}

header {
  background: var(--primary-color); color: var(--light-color);
  padding: 1.4rem 0; position: relative; z-index: 1000;
  box-shadow: 0 3px 12px rgba(184,115,51,0.28);
}
footer { background: var(--dark-color); color: var(--light-color); padding: 2rem 0 1rem; }
header img[alt="logo"], footer img[alt="logo"] { filter: brightness(0) invert(1); }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--highlight-color); outline-offset: 2px;
}
.active-link { position: relative; font-weight: 600; }
.active-link::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0;
  height: 3px; background: var(--highlight-color); border-radius: 2px;
}

/* Pattern: soft horizontal lines */
.pattern-bg {
  background-color: var(--background-color);
  background-image: repeating-linear-gradient(
    0deg,
    rgba(184, 115, 51, 0.05) 0px,
    rgba(184, 115, 51, 0.05) 1px,
    transparent 1px,
    transparent 24px
  );
}

.info-banner {
  background: linear-gradient(135deg, #FDF0DA 0%, #E8C07A 100%);
  color: var(--text-color); text-align: center; position: relative;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
}
.info-banner h2 { color: var(--primary-color); margin-bottom: 1.5rem; }
.info-banner p { color: var(--text-color); font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.8; }

/* About page: accordion-style detail blocks */
.detail-block {
  background: white;
  border-radius: 16px;
  padding: 2.4rem 2rem 2rem 2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.detail-block::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.detail-block:nth-child(2)::before { background: linear-gradient(90deg, #2D7D6F, #1A5A53); }
.detail-block:nth-child(3)::before { background: linear-gradient(90deg, #E8C07A, #D4924A); }
.detail-block:nth-child(4)::before { background: linear-gradient(90deg, #8C5420, #1C1208); }
.detail-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(184,115,51,0.2);
}