:root {
  --forest: #2d4a2d;
  --offwhite: #f7f4ef;
  --gold: #c9a96e;
  --sage: #8faf7e;
  --sage-soft: #edf2e8;
  --text-dark: #1f2d1f;
  --error: #cd5c3c;
  --border-soft: rgba(45, 74, 45, 0.2);
  --shadow-soft: 0 18px 30px rgba(45, 74, 45, 0.1);
}

@font-face {
  font-family: "Neue Montreal";
  src: url("fonts/NeueMontreal-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("fonts/NeueMontreal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("fonts/NeueMontreal-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Neue Montreal", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--offwhite);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section-title {
  font-family: "the-seasons", serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 0 0 2.5rem;
  letter-spacing: 0.02em;
  color: var(--forest);
  text-align: center;
}

.hero {
  width: min(1440px, 94vw);
  margin: 0 auto;
  border-radius: 24px;
  display: flex;
  align-items: center;
  position: relative;
  background: rgba(143, 175, 126, 0.08);
  border: 1px solid var(--border-soft);
  color: var(--text-dark);
  overflow: hidden;
  padding: 3.5rem 0;
  box-shadow: 0 16px 30px rgba(45, 74, 45, 0.08);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%232d4a2d' fill-opacity='0.08'%3E%3Ccircle cx='14' cy='18' r='1'/%3E%3Ccircle cx='42' cy='72' r='1'/%3E%3Ccircle cx='75' cy='34' r='1'/%3E%3Ccircle cx='119' cy='95' r='1'/%3E%3Ccircle cx='96' cy='123' r='1'/%3E%3Ccircle cx='28' cy='111' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero-title {
  margin: 0;
  font-family: "the-seasons", serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--forest);
  text-wrap: balance;
}

.hero-key {
  color: #3e6a3f;
  font-style: italic;
}

.hero-subtitle {
  margin: 1.35rem auto 0;
  max-width: 580px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(31, 45, 31, 0.84);
}

.hero-columns {
  margin: 2.4rem auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.hero-column {
  background: rgba(247, 244, 239, 0.72);
  border: 1px solid var(--border-soft);
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-size: 1rem;
  color: rgba(31, 45, 31, 0.8);
}

.hero-column strong {
  color: var(--forest);
  font-weight: 500;
}

.hero-cta {
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  color: var(--forest);
  background: transparent;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-family: "the-seasons", serif;
  font-size: 1.2rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.hero-cta:hover {
  background: var(--forest);
  color: var(--offwhite);
  transform: translateY(-2px);
}

.how-it-works {
  background: var(--offwhite);
  padding: 5.5rem 0 4.2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
  position: relative;
}

.step {
  background: rgba(143, 175, 126, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.35rem;
  min-height: 228px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--forest);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--forest);
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(31, 45, 31, 0.88);
}

.steps-note {
  margin: 1.7rem auto 0;
  max-width: 880px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(31, 45, 31, 0.62);
  font-style: italic;
  font-weight: 300;
}

.order-section {
  background: linear-gradient(180deg, #f5f3ee 0%, #edf2e8 100%);
  padding: 5.5rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  background: rgba(247, 244, 239, 0.92);
  border: 1px solid rgba(45, 74, 45, 0.16);
  border-radius: 18px;
  padding: 1rem;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-img {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  display: block;
  background: #eef3ea;
  border: 1px solid rgba(45, 74, 45, 0.18);
  object-fit: contain;
  object-position: center;
  padding: 0.25rem;
  margin-bottom: 1rem;
}

.product-title {
  margin: 0;
  font-family: "the-seasons", serif;
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--forest);
}

.product-price {
  margin: 0.3rem 0 0.95rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(31, 45, 31, 0.92);
}

.field-label {
  display: block;
  margin-bottom: 0.36rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(31, 45, 31, 0.84);
}

.field-row {
  margin-top: 0.85rem;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.7rem 0.78rem;
  font-family: "Neue Montreal", system-ui, sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text-dark);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 175, 126, 0.2);
}

.segmented {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.segmented button {
  border: 1px solid rgba(45, 74, 45, 0.28);
  border-radius: 999px;
  padding: 0.4rem 0.82rem;
  background: #fff;
  color: var(--forest);
  font-family: "Neue Montreal", system-ui, sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.segmented button.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--offwhite);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.stepper-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--forest);
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    transform 0.08s ease;
}

.stepper-btn:hover {
  background: rgba(143, 175, 126, 0.15);
}

.stepper-btn:active {
  transform: scale(0.96);
}

.stepper-value {
  min-width: 34px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--forest);
}

.contacts {
  margin-top: 2.4rem;
  background: rgba(247, 244, 239, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.4rem;
}

.contacts h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--forest);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.contact-grid .full {
  grid-column: 1 / -1;
}

.privacy-note {
  margin-top: 0.65rem;
  font-style: italic;
  color: rgba(31, 45, 31, 0.67);
  font-size: 0.84rem;
  font-weight: 300;
}

.summary {
  margin-top: 2rem;
  background: rgba(45, 74, 45, 0.92);
  color: var(--offwhite);
  border-radius: 16px;
  padding: 1.2rem;
}

.summary h3 {
  margin: 0 0 0.7rem;
  font-family: "the-seasons", serif;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--offwhite);
}

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(247, 244, 239, 0.12);
  padding-bottom: 0.42rem;
}

.summary-empty {
  margin: 0;
  color: rgba(247, 244, 239, 0.78);
  font-size: 0.94rem;
}

.summary-total {
  margin-top: 0.8rem;
  text-align: right;
  font-weight: 500;
  font-size: 1.05rem;
}

.error {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: var(--error);
}

.submit-btn {
  width: 100%;
  margin-top: 1.3rem;
  border: none;
  border-radius: 999px;
  background: var(--forest);
  color: var(--offwhite);
  padding: 0.92rem 1rem;
  font-family: "the-seasons", serif;
  font-size: 1.34rem;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease;
}

.submit-btn:hover {
  background: #365a36;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.success-state {
  display: none;
  margin-top: 1.4rem;
  border: 1px solid rgba(45, 74, 45, 0.2);
  background: rgba(247, 244, 239, 0.95);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.success-state h3 {
  margin: 0;
  color: var(--forest);
  font-family: "the-seasons", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
}

.success-state p {
  margin: 0.8rem auto 0;
  max-width: 720px;
  color: rgba(31, 45, 31, 0.8);
  font-size: 1rem;
}

.site-footer {
  background: var(--forest);
  color: var(--offwhite);
  padding: 2rem 0 2.2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.footer-alert {
  margin: 0;
  font-size: 1rem;
  color: rgba(247, 244, 239, 0.92);
}

.footer-alert strong {
  color: #fbe3b3;
  font-weight: 500;
}

.footer-card {
  border: 1px solid rgba(247, 244, 239, 0.26);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: rgba(247, 244, 239, 0.06);
  text-align: center;
}

.footer-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 239, 0.75);
  margin-bottom: 0.28rem;
}

.footer-link {
  color: var(--offwhite);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-link:hover {
  color: #fbe3b3;
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-wrap::before {
    top: 4rem;
    height: 140px;
  }

  .hero {
    width: min(1440px, 95vw);
    border-radius: 18px;
    padding: 2.8rem 0;
  }

  .hero-columns {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-alert {
    text-align: center;
  }
}
