:root {
  --primary-color: #7A2A2A;
  --secondary-color: #5C1E1E;
  --accent-color: #C0513A;
  --light-color: #FDF5F2;
  --dark-color: #2E1010;
  --gradient-primary: linear-gradient(135deg, #C0513A 0%, #7A2A2A 100%);
  --background-color: #FAF3F0;
  --text-color: #2E1A18;
  --border-color: rgba(192, 81, 58, 0.18);
  --divider-color: rgba(122, 42, 42, 0.12);
  --shadow-color: rgba(122, 42, 42, 0.12);
  --highlight-color: #E8B84B;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--alt-font); color: var(--text-color); background-color: var(--background-color); line-height: 1.75; }
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; line-height: 1.3; }

header {
  background: linear-gradient(90deg, #2E1010 0%, #5C1E1E 100%);
  color: var(--light-color);
  padding: 1.3rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 14px rgba(46,16,16,0.55);
}
header img[alt="logo"], footer img[alt="logo"] { filter: brightness(0) invert(1); }

footer { background: var(--dark-color); color: var(--light-color); padding: 2rem 0 1rem; }

.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  padding: 8px; background: rgba(255,255,255,0.08); border-radius: 8px;
}
.hamburger .line {
  width: 26px; 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: 420px; opacity: 1; }
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--dark-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.32); z-index: 1000;
}
.mobile-nav ul { padding: 1.8rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.9rem 0; }
.mobile-nav a {
  display: block; padding: 0.9rem 1.3rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 10px; transition: all 0.3s ease;
  font-size: 0.98rem; font-weight: 600; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(192,81,58,0.2);
  border-color: rgba(192,81,58,0.4);
  transform: translateX(5px);
}

/* Feature cards — крупные плитки с большой цифрой сверху и разделителем */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2.4rem 2rem 2rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gradient-primary);
}
.feature-card:nth-child(even)::before {
  background: linear-gradient(135deg, var(--highlight-color) 0%, #C0864A 100%);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(122,42,42,0.2);
}
.feature-num {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--main-font);
  color: var(--accent-color);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.feature-divider {
  width: 40px; height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 0.8rem 0 1rem;
}
.feature-card:nth-child(even) .feature-divider {
  background: linear-gradient(135deg, var(--highlight-color) 0%, #C0864A 100%);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

/* Form */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px;
  padding: 1rem; background-color: white;
  color: var(--text-color); font-size: 1rem; width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(192,81,58,0.1);
}
input:hover, textarea:hover { border-color: var(--accent-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.1rem 2.6rem; 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 5px 16px rgba(122,42,42,0.35);
}
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(122,42,42,0.42);
  background: linear-gradient(135deg, #5C1E1E 0%, #2E1010 100%);
}

.active-link { position: relative; font-weight: 700; }
.active-link::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0;
  height: 3px; background: var(--highlight-color); border-radius: 2px;
}

/* Pattern BG — диагональные полосы */
.pattern-bg {
  background-color: var(--background-color);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 28px,
    rgba(192,81,58,0.04) 28px,
    rgba(192,81,58,0.04) 29px
  );
}

.info-banner {
  background: linear-gradient(135deg, #F5DDD6 0%, #EEC9BC 100%);
  color: var(--text-color); text-align: center;
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
}
.info-banner h2 { color: var(--secondary-color); margin-bottom: 1.4rem; }

.contact-wrap { width: 100%; }
@media (min-width: 768px) { .contact-wrap { width: 80%; margin: 0 auto; } }

.faq-item {
  background: white; border-radius: 14px;
  padding: 1.8rem 2rem; margin-bottom: 1.2rem;
  border: 2px solid var(--border-color);
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 3px 12px var(--shadow-color);
}
.faq-item:nth-child(even) { border-left-color: var(--highlight-color); }
.faq-item h3 { color: var(--primary-color); font-size: 1.05rem; margin-bottom: 0.7rem; }
.faq-item p { color: var(--text-color); font-size: 0.93rem; line-height: 1.7; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) { .hero h1 { font-size: 1.75rem; } }