@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --color-primary: #2C6E49;
  --color-accent: #F4A261;
  --color-bg: #ffffff;
  --color-surface: #F9FCF7;
  --color-text: #1E2A32;
  --color-muted: #4A5B6E;
  --color-border: #E2E8F0;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #1E5631);
  color: #fff;
  padding: 0.8rem 1.8rem;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 110, 73, 0.4);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.8rem 1.8rem;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-primary);
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #FEFCF5;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 1.5rem;
}

.nav__notice {
  flex: 1;
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-muted);
  padding-right: 1rem;
}

@media (max-width: 640px) {
  .nav__container {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .nav__notice {
    flex: 1 1 100%;
    text-align: left;
    padding-right: 0;
    font-size: 0.75rem;
    word-break: break-all;
  }
}

.hero {
  padding: 3rem 0 2rem;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__container > *,
.features__grid > *,
.reviews__grid > *,
.order__grid > *,
.specs__table > *,
.disclaimers__grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero__title-line {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
}

.hero__title-accent {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 90%;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.hero__badge i {
  color: var(--color-primary);
}

.hero__image img, .order__visual img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
  }
  .hero__image {
    order: -1;
  }
}

.features {
  padding: 4rem 0;
  background: var(--color-surface);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.specs {
  padding: 4rem 0;
}

.specs__table {
  max-width: 700px;
  margin: 2rem auto;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.specs__row:last-child {
  border-bottom: none;
}

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

.specs__value {
  color: var(--color-text);
}

.reviews {
  padding: 4rem 0;
  background: var(--color-surface);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.review-card__stars {
  color: var(--color-accent);
}

.review-card__text {
  font-style: italic;
  color: var(--color-muted);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-card__author strong {
  display: block;
  font-size: 0.95rem;
}

.review-card__author span {
  font-size: 0.8rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

.order {
  padding: 4rem 0;
}

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

.order__visual img {
  margin-bottom: 1.5rem;
}

.order__steps p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.order__steps i {
  color: var(--color-primary);
}

.order__form-wrap h2 {
  text-align: left;
  margin-bottom: 0.5rem;
}

.order__form-wrap > p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.order__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.order__form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 500;
}

.order__form input,
.order__form select,
.order__form button {
  width: 100%;
  max-width: 100%;
}

.order__form input {
  margin-top: 0.3rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
}

.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .order__grid {
    grid-template-columns: 1fr;
  }
}

.disclaimers {
  background: var(--color-primary);
  color: #e2e8f0;
  padding: 3rem 0;
}

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

.disclaimers h3 {
  color: white;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.footer {
  background: #F2F5EA;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer__brand .logo {
  margin-bottom: 0.5rem;
}

.footer__desc {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer__contacts p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.footer__legal h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.footer__legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__legal a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--color-accent);
}

.footer__disclaimer {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.footer__copy {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
  }
  .specs__row, .disclaimers__grid {
    grid-template-columns: 1fr;
  }
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  word-break: break-word;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  text-align: left;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1rem 1.5rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-accent);
}

.thanks-page {
  word-break: break-word;
}

.thanks-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, #f0f9f0 0%, #e2f0e2 100%);
  padding: 2rem;
}

.thanks-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  max-width: 500px;
  width: 100%;
}

.thanks-card img {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
}

.thanks-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.thanks-card p {
  font-size: 1.1rem;
  color: #2c3e2f;
  line-height: 1.6;
}

[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}

[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}

[data-aos="zoom-in"]:not(.aos-animate) {
  transform: translate3d(0, 24px, 0) scale(0.98) !important;
}

@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero__container > *,
  .order__grid > *,
  .features__grid > *,
  .reviews__grid > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .logo a {
    flex-direction: column;
  }

  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .footer__contacts,
  .footer__legal {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .container,
  .hero__container,
  .nav__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .features,
  .specs,
  .reviews,
  .order,
  .disclaimers {
    padding: 2.5rem 0;
  }

  .feature-card,
  .review-card,
  .thanks-card,
  .order__form-wrap {
    padding: 1.25rem;
  }

  .order__form input {
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
  }

  .btn--lg {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
  }

  .legal-content {
    padding: 24px 16px;
  }

  .legal-content h1 {
    font-size: 1.6rem;
  }
}