:root {
  --bg: #edf5ef;
  --surface: #f7fcf8;
  --surface-strong: #eaf7ee;
  --ink: #163228;
  --ink-soft: #3e5a4a;
  --brand: #1c7a45;
  --brand-deep: #0f5a31;
  --accent: #2f9b61;
  --line: #cfe4d5;
  --shadow: 0 14px 35px rgba(14, 60, 40, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 15%, rgba(47, 155, 97, 0.14), transparent 38%),
    radial-gradient(circle at 85% 10%, rgba(28, 122, 69, 0.14), transparent 40%),
    linear-gradient(180deg, #eef9f1 0%, #f8fdf9 54%, #eaf5ee 100%);
  min-height: 100vh;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

body.is-ready {
  opacity: 1;
  transform: translateY(0);
}

body.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.is-ready,
  body.is-leaving,
  .reveal-on-load,
  .reveal-on-load:nth-child(2),
  .reveal-on-load:nth-child(3),
  .reveal-on-load:nth-child(4) {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.bg-shape-one {
  width: 340px;
  height: 340px;
  left: -120px;
  top: 140px;
  background: rgba(31, 106, 99, 0.14);
}

.bg-shape-two {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 330px;
  background: rgba(24, 108, 60, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(8px);
  background: rgba(245, 252, 247, 0.84);
  border-bottom: 1px solid rgba(203, 226, 211, 0.78);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  box-shadow: var(--shadow);
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-deep);
  background: rgba(31, 106, 99, 0.12);
}

main {
  padding-bottom: 3.5rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 70ch;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section,
.page-hero {
  padding: clamp(2.3rem, 6vw, 4.6rem) 0 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 90, 49, 0.28);
}

.btn-ghost {
  color: var(--brand-deep);
  border: 1px solid rgba(15, 90, 49, 0.25);
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding-top: 1.5rem;
}

.section-heading {
  margin-bottom: 1rem;
}

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

.card,
.panel,
.login-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.panel {
  padding: 1.2rem;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  border: 1px solid #c7decf;
}

.product-meta {
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0.2rem 0 0.35rem;
}

.product-status {
  grid-column: 1 / -1;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid #c8decf;
  background: #edf8f0;
  color: var(--ink-soft);
}

.card p,
.panel p,
.panel li,
.quote-strip p {
  color: var(--ink-soft);
}

.pill {
  margin-top: 0.55rem;
  display: inline-block;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--brand-deep);
  background: rgba(28, 122, 69, 0.14);
}

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

.accent-panel {
  background: linear-gradient(160deg, #eff9f2 0%, #f7fdf9 100%);
}

.clean-list {
  margin: 0;
  padding-left: 1.15rem;
}

.clean-list li {
  margin-bottom: 0.45rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.stats strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-deep);
}

.stats span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.quote-strip {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px dashed #b7d8c2;
  background: rgba(244, 252, 247, 0.76);
}

.quote-strip blockquote {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.12rem, 2.4vw, 1.55rem);
  color: var(--brand-deep);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.95rem;
}

.timeline h3 {
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.login-shell {
  padding: 1rem;
}

.login-tabs {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #e5f3ea;
  margin-bottom: 1rem;
}

.tab-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: transparent;
}

.tab-btn.is-active {
  color: #fff;
  background: var(--brand);
}

.login-panel {
  display: none;
}

.login-panel.is-visible {
  display: block;
}

.modern-form {
  display: grid;
  gap: 0.42rem;
}

.modern-form label {
  font-weight: 700;
  margin-top: 0.3rem;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  border: 1px solid #c2dcca;
  background: #fbfffc;
  color: var(--ink);
  border-radius: 11px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  outline: 2px solid rgba(28, 122, 69, 0.26);
  border-color: var(--brand);
}

.form-notice {
  margin: 0.55rem 0 0;
  border-radius: 10px;
  padding: 0.56rem 0.75rem;
  font-weight: 600;
}

.form-notice.is-success {
  border: 1px solid #a9d2b8;
  background: #e8f7ed;
  color: #1a653c;
}

.form-notice.is-error {
  border: 1px solid #e5bab5;
  background: #fff0ee;
  color: #8a3027;
}

.modern-form button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.contact-layout .panel:first-child {
  min-height: 100%;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  padding: 0.2rem 0;
}

.faq-mini {
  margin-top: 1rem;
  border-top: 1px solid #bfd9c7;
  padding-top: 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(243, 251, 246, 0.95);
}

.footer-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.reveal-on-load {
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.55s ease forwards;
}

.reveal-on-load:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal-on-load:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal-on-load:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .card-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.7rem 0;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .card-grid,
  .timeline,
  .stats {
    grid-template-columns: 1fr;
  }
}
