/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c2c2c;
  background: #f6f7f5;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

p:last-child {
  margin-bottom: 0;
}

/* Layout System */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--hero {
  padding: 120px 0 80px 0;
  background: linear-gradient(135deg, #f6f7f5 0%, #ffffff 100%);
}

.section--compact {
  padding: 60px 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.header--scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d5a27;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav__link {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: #2d5a27;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  transition: all 0.3s ease;
}

.burger-menu__line {
  width: 100%;
  height: 3px;
  background: #2d5a27;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu--active .burger-menu__line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu--active .burger-menu__line:nth-child(2) {
  opacity: 0;
}

.burger-menu--active .burger-menu__line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: #2d5a27;
  color: white;
}

.btn--primary:hover {
  background: #1f4220;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
}

.btn--secondary {
  background: transparent;
  color: #2d5a27;
  border: 1px solid #2d5a27;
}

.btn--secondary:hover {
  background: #2d5a27;
  color: white;
}

/* Content Blocks */
.content-block {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-grid--reverse {
  direction: rtl;
}

.content-grid--reverse > * {
  direction: ltr;
}

.content-text {
  max-width: 620px;
}

.content-text h1,
.content-text h2 {
  margin-bottom: 1.5rem;
}

.content-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.content-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-image:hover img {
  transform: scale(1.02);
}

/* Advantages */
.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantage {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #2d5a27;
}

.advantage h3 {
  margin-bottom: 0.75rem;
  color: #2d5a27;
  font-size: 1.1rem;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review__author {
  font-weight: 600;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.review__text {
  font-style: italic;
  color: #666;
  line-height: 1.6;
}

/* CTA Blocks */
.cta-block {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-block h2 {
  margin-bottom: 1rem;
  color: #2d5a27;
}

.cta-block p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #666;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 4rem 0 2rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.footer__brand span {
  color: white;
}

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: white;
}

.footer__contact a {
  color: #8b7355;
  font-weight: 500;
}

.footer__contact a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section--hero {
    padding: 100px 0 60px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .content-grid--reverse {
    direction: ltr;
  }

  .header__inner {
    height: 70px;
    padding: 0;
    position: relative;
  }

  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav--active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-bottom: 2rem;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
  }

  .nav__list li:last-child {
    border-bottom: none;
  }

  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    width: 100%;
  }

  .nav .btn--primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 14px 24px;
  }

  .advantages,
  .reviews {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 40px 0;
  }

  .section--hero {
    padding: 80px 0 40px 0;
  }

  .content-block {
    border-radius: 16px;
  }

  .cta-block {
    padding: 2rem;
  }
}