:root {
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --background: #F7F3EC;
  --foreground: #2A2A25;
  --card: #FFFFFF;
  --primary: #4A7C40;
  --primary-foreground: #FFFFFF;
  --secondary: #EEF2EA;
  --muted: #F0EDE5;
  --muted-foreground: #7A7A6A;
  --accent: #C8A862;
  --border: rgba(74, 124, 64, 0.18);
  --input-background: #F0EDE5;
  --ring: rgba(74, 124, 64, 0.4);
  --radius: 0.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow { max-width: 48rem; }
@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

.center { text-align: center; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.icon-btn {
  padding: 0.625rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}
.icon-btn:hover { background: var(--secondary); }

/* Sidebar */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(42, 42, 37, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.overlay.open { opacity: 1; visibility: visible; }

.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 18rem;
  max-width: 85vw;
  z-index: 51;
  background: var(--card);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sidebar.open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-link {
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sidebar-link:hover { background: var(--secondary); color: var(--primary); }
.sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 1rem;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.btn-primary:hover { opacity: 0.9; }
.btn-white {
  background: #ffffff;
  color: var(--primary);
}
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: 1rem;
}
.btn-lg:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.12); }
.btn-xl {
  padding: 1rem 3rem;
  font-size: 1.125rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.btn-xl:hover { transform: scale(1.05); }
.btn-block { width: 100%; padding: 0.875rem 1rem; border-radius: 0.75rem; }
.contact-btn { padding: 1rem 2rem; border-radius: 1rem; }
.contact-btn:hover { transform: scale(1.05); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(42,42,37,0.65), rgba(42,42,37,0.45), rgba(74,124,64,0.4));
}
.hero-inner {
  position: relative;
  padding: 6rem 1.25rem;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-inner { padding: 8rem 2rem; }
}
.hero-content { max-width: 42rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  background: rgba(200, 168, 98, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(200, 168, 98, 0.3);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero-text {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .hero-text { font-size: 1.25rem; }
}

/* Price block */
.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.price-block-center { justify-content: center; }
.price-old {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: line-through;
  text-decoration-color: rgba(122, 122, 106, 0.6);
}
.price-current {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.price-block-light .price-old { color: rgba(255,255,255,0.55); text-decoration-color: rgba(255,255,255,0.4); }
.price-block-light .price-current { color: #fff; }
.price-block-sm {
  margin-bottom: 0;
  margin-top: 0.5rem;
}
.price-block-sm .price-old { font-size: 0.9375rem; }
.price-block-sm .price-current { font-size: 1.25rem; }

/* Sections */
.section {
  padding: 5rem 0;
  background: var(--background);
}
@media (min-width: 640px) {
  .section { padding: 7rem 0; }
}
.section-secondary { background: var(--secondary); }

.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .section-head h2 { font-size: 2.25rem; }
}
.underline {
  width: 2.5rem;
  height: 3px;
  background: var(--primary);
  border-radius: 9999px;
}
.underline.center { margin: 0 auto; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
@media (min-width: 640px) {
  .features-grid { gap: 1.5rem; }
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 640px) {
  .feature-card { padding: 2rem; }
}
.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: rgba(74, 124, 64, 0.3);
}
.feature-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .feature-num { font-size: 3rem; }
}
.feature-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Principles */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 4rem;
}
@media (min-width: 1024px) {
  .principles-grid { grid-template-columns: 1fr 1fr; }
}
.principle {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.principle-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}
.principle p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Example menu */
.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .example-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .example-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.example-photo {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--muted);
  aspect-ratio: 4 / 3;
}
@media (min-width: 640px) {
  .example-photo-wide { grid-column: span 2 / span 2; }
}
@media (min-width: 1024px) {
  .example-photo-wide { grid-column: span 1 / span 1; }
}
.example-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.example-photo:hover img { transform: scale(1.05); }

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: linear-gradient(135deg, #3d6835 0%, #4A7C40 50%, #5a9050 100%);
}
@media (min-width: 640px) {
  .cta-section { padding: 8rem 0; }
}
.cta-noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 80%, #C8A862 0%, transparent 50%), radial-gradient(circle at 80% 20%, #EEF2EA 0%, transparent 50%);
}
.cta-inner {
  position: relative;
  text-align: center;
}
.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .cta-title { font-size: 3rem; }
}
.cta-text {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin: 0 auto 2.5rem;
  max-width: 32rem;
  line-height: 1.6;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--card);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.15s ease;
}
.accordion-trigger:hover { background: var(--secondary); }
.accordion-q {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1rem;
}
.accordion-num {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  width: 1.25rem;
  text-align: right;
}
.accordion-chevron {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-content-inner {
  padding: 0.25rem 1.25rem 1.25rem 3.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Contacts */
.contacts-text {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 24rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  background: #2A2A25;
}
.footer-logo {
  font-family: var(--font-display);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 0.375rem;
}
.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-requisites {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-copy { color: rgba(255,255,255,0.4); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(42, 42, 37, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  transform: scale(0.94) translateY(12px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-head h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.modal-sub {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.modal-list {
  background: var(--secondary);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.modal-list-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
}
.check-icon { color: var(--primary); flex-shrink: 0; }
.modal-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
#buyForm { display: flex; flex-direction: column; gap: 1rem; }
#buyForm label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  display: block;
}
#buyForm input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--input-background);
  color: var(--foreground);
  font-size: 0.9375rem;
  outline: none;
  transition: box-shadow 0.15s ease;
}
#buyForm input:focus {
  box-shadow: 0 0 0 3px var(--ring);
}
#buyForm input::placeholder { color: var(--muted-foreground); }
.modal-legal {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.5;
  margin-top: -0.25rem;
}
.modal-legal a { color: var(--primary); text-decoration: underline; }

.modal-success { text-align: center; padding: 1rem 0; }
.success-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(74, 124, 64, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.modal-success h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.modal-success p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.strong { color: var(--foreground); font-weight: 700; }
.link-btn {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.75rem;
}
.link-btn:hover { text-decoration: underline; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero .reveal { transition-duration: 0.75s; }
