:root {
  --bg: #f0fdfa;              /* Легкий мятный фон */
  --card: #ffffff;
  --border: #a7f3d0;
  --text: #065f46;
  --muted: #047857;
  --link: #10b981;
  --accent: #34d399;          /* Зеленый акцент */
  --shadow: 0 8px 24px rgba(0,0,0,0.07);
  --btn-bg: #059669;          /* Зеленая кнопка */
  --btn-hover: #047857;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 8px;
}

.header {
  text-align: center;
  margin-bottom: 24px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.nav a {
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.main-flex {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .main-flex { flex-direction: row; }
}

.products-section {
  flex: 2;
}

.products-flex {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.product-icon {
  font-size: 2em;
  margin-bottom: 8px;
}

.benefits-flex {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.benefit-block {
  background: #d1fae5;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-weight: bold;
}

.benefit-emoji {
  font-size: 1.5em;
  margin-right: 8px;
}

.form-aside {
  flex: 1;
  position: sticky;
  top: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.muted { color: var(--muted); font-size: 0.95em; }

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

form label {
  display: block;
  margin: 12px 0 4px;
  font-weight: 600;
  font-size: 1em;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1em;
  background: #fff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

form textarea.form-input { resize: vertical; }

.form-button {
  background: var(--btn-bg);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 16px;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}

.form-button:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
}

.payment-note {
  margin-top: 16px;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  color: var(--text);
  background: #d1fae5;
  padding: 8px;
  border-radius: 8px;
}

details {
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  color: var(--link);
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 24px 12px;
  font-size: 0.9em;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 32px;
}