/* Основные переменные */
:root {
  --bg-color: #f3f9f4;
  --primary: #2f855a;
  --primary-dark: #276749;
  --accent: #9ae6b4;
  --text-main: #1a202c;
  --text-muted: #4a5568;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  background: linear-gradient(135deg, #22543d, #38a169);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #9ae6b4, #2f855a);
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background-color: rgba(155, 230, 180, 0.2);
}

.nav-cta {
  background-color: var(--white);
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--accent);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #38a169;
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-tag {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.85rem;
}

.hero-image-card {
  background-color: var(--white);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 20px 45px rgba(16, 122, 87, 0.25);
}

.hero-image {
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
  min-height: 220px;
}

.hero-image-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 600;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-value {
  font-weight: 700;
  color: var(--primary-dark);
}

.section {
  padding: 2.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.method-card {
  background-color: var(--white);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(15, 94, 63, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.method-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}

.method-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--accent);
}

.method-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.method-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.method-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.method-link {
  color: var(--primary);
  font-weight: 600;
}

.pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: #f0fff4;
  color: var(--primary-dark);
}

.order-section {
  padding: 2.5rem 0 3rem;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.order-card {
  background-color: var(--white);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(16, 122, 87, 0.3);
}

.order-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.order-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.order-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.order-benefit {
  display: flex;
  gap: 0.5rem;
}

.order-benefit-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: #c6f6d5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-group {
  flex: 1;
}

.label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
}

.input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid #c6f6d5;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background-color: #f7fafc;
}

.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(56, 161, 105, 0.4);
  background-color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #38a169, #2f855a);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 122, 87, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(16, 122, 87, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(16, 122, 87, 0.4);
}

.btn-full {
  width: 100%;
}

.order-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-aside {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.order-aside-card {
  background: linear-gradient(145deg, #c6f6d5, #48bb78);
  border-radius: 1.25rem;
  padding: 1.25rem;
  color: #1a202c;
  margin-bottom: 1rem;
}

.order-aside-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.order-aside-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.order-aside-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

footer {
  background-color: #1c4532;
  color: rgba(237, 255, 242, 0.9);
  padding: 1.4rem 0;
  margin-top: auto;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(237, 255, 242, 0.9);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.method-page {
  padding: 2.25rem 0 3rem;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.method-heading {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.method-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.method-section-title {
  font-size: 1.05rem;
  margin: 1.2rem 0 0.4rem;
}

.method-list {
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.method-list li + li {
  margin-top: 0.35rem;
}

.method-image-card {
  background-color: var(--white);
  border-radius: 1.25rem;
  padding: 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 94, 63, 0.18);
}

.method-image {
  border-radius: 1rem;
  min-height: 200px;
  background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-dark);
}

.method-cta {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.success-page {
  padding: 3rem 0 3.5rem;
}

.success-card {
  max-width: 540px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(16, 122, 87, 0.25);
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  margin: 0 auto 1rem;
  background: radial-gradient(circle at 30% 30%, #c6f6d5, #2f855a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.success-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Адаптив */
@media (max-width: 960px) {
  .hero-grid,
  .order-layout,
  .methods-grid,
  .method-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .order-aside {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .methods-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    flex-direction: column;
  }

  .section,
  .order-section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .order-card {
    padding: 1.4rem;
  }
}
