:root {
  --primary-color: #3D6B4F;
  --secondary-color: #4F8A65;
  --accent-color: #2B4A38;
  --light-color: #E8F2EC;
  --dark-color: #1E3328;
  --gradient-primary: linear-gradient(135deg, #3D6B4F 0%, #4F8A65 100%);
  --hover-color: #2F5540;
  --background-color: #F6FAF7;
  --text-color: #2C3A30;
  --border-color: rgba(61, 107, 79, 0.18);
  --divider-color: rgba(61, 107, 79, 0.09);
  --shadow-color: rgba(30, 51, 40, 0.11);
  --highlight-color: #F0A55A;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* PATTERN BG — органические круги и волны */
.pattern-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(61, 107, 79, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 90%, rgba(79, 138, 101, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(232, 242, 236, 0.5) 0%, transparent 70%),
    repeating-radial-gradient(circle at 0 0, transparent 0, transparent 28px, rgba(61, 107, 79, 0.04) 28px, rgba(61, 107, 79, 0.04) 29px);
}

/* HEADER */
header {
  background: var(--gradient-primary);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.header-deco-1 {
  position: absolute;
  top: -10px;
  right: 7%;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  display: none;
}
.header-deco-2 {
  position: absolute;
  bottom: -8px;
  right: 13%;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: none;
}
.header-deco-3 {
  position: absolute;
  top: 50%;
  right: 4%;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  transform: translateY(-50%);
  display: none;
}
@media (min-width: 768px) {
  .header-deco-1, .header-deco-2, .header-deco-3 { display: block; }
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  letter-spacing: 0.03em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* MAIN */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .product-section { grid-template-columns: 1fr 1fr; }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.product-image-container { position: relative; }

.product-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 28px var(--shadow-color);
  display: block;
  transition: transform 0.3s ease;
}
.product-image:hover { transform: scale(1.02); }

/* GUARANTEE — стиль: рамка с акцентом слева, светлый фон */
.guarantee-block {
  background: white;
  border-left: 5px solid var(--primary-color);
  padding: 1.3rem 1.4rem;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 3px 12px var(--shadow-color);
  position: relative;
}
.guarantee-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(61,107,79,0.04) 0%, transparent 50%);
  border-radius: 0 10px 10px 0;
  pointer-events: none;
}
.guarantee-block h3 {
  font-family: var(--main-font);
  color: var(--primary-color);
  margin-bottom: 0.55rem;
  font-size: 0.97rem;
  font-weight: 700;
}
.guarantee-block p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-color);
}

/* FEATURES-ICONS — горизонтальные строки с иконкой слева */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}
.feature-item:hover {
  background: var(--light-color);
  border-color: var(--primary-color);
}
.feature-icon {
  width: 42px;
  height: 42px;
  background: var(--light-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.feature-item span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--alt-font);
}

.cart-button {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}
.cart-button:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
}

/* PRODUCT RIGHT */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.8rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
}
.product-description p + p { margin-top: 0.75rem; }

.highlight-text {
  background: var(--highlight-color);
  color: white;
  padding: 1.1rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 1.2rem 0;
  text-align: center;
  font-size: 0.96rem;
  font-family: var(--main-font);
  letter-spacing: 0.02em;
  box-shadow: 0 3px 12px rgba(240, 165, 90, 0.35);
}

.features-list {
  list-style: none;
  margin: 1.2rem 0;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--light-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.features-list li:hover { transform: translateX(3px); }

.feature-check {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.72rem;
}

/* MID BLOCK — горизонтальная лента с иконками и описанием в ряд */
.mid-block {
  background: var(--dark-color);
  color: white;
  padding: 3rem 1.5rem;
}
.mid-block-inner {
  max-width: 1150px;
  margin: 0 auto;
}
.mid-block h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.65rem;
  font-weight: 700;
}

/* Иной макет: 2 колонки — иконка+заголовок слева, текст справа */
.mid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 768px) {
  .mid-list { grid-template-columns: 1fr 1fr; }
}
.mid-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.4rem;
  transition: background 0.3s;
}
.mid-item:hover { background: rgba(255,255,255,0.12); }
.mid-item-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.mid-item-text h3 {
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.mid-item-text p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
}

/* TESTIMONIALS */
.testimonials {
  background: #F1F7F3;
  color: var(--text-color);
  padding: 3rem 1.5rem;
}
.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-color);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 1150px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: transform 0.3s ease;
}
.testimonial:hover { transform: translateY(-3px); }
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.testimonial-icon {
  width: 42px;
  height: 42px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--main-font);
  color: var(--primary-color);
}
.testimonial-location {
  font-size: 0.8rem;
  color: rgba(44,58,48,0.6);
}
.testimonial p {
  line-height: 1.65;
  font-size: 0.88rem;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background: var(--dark-color);
  color: white;
  padding: 2rem 1.5rem;
}
.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-nav { justify-content: flex-end; }
}
.footer-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--light-color); }
.footer-credit {
  text-align: center;
  padding-top: 1.2rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  max-width: 1150px;
  margin: 0 auto;
}
.footer-credit a { color: var(--light-color); text-decoration: none; }