:root {
  --eco-primary: #A7D83C;
  --eco-secondary: #88C23F;
  --eco-black: #000000;
  --eco-white: #FFFFFF;
  --ink-1: #15180f;
  --ink-2: #2e3520;
  --surface: #f4f9e8;
  --surface-2: #ffffff;
  --line: #dbe8bd;
  --shadow: 0 20px 44px rgba(31, 38, 14, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-1);
  font-family: "Platypi", Georgia, "Times New Roman", serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% 4%, rgba(167, 216, 60, 0.24), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(136, 194, 63, 0.2), transparent 20%),
    linear-gradient(180deg, #fcfff3 0%, #f2f8e4 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.section-pad {
  width: min(100% - 2.2rem, var(--maxw));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.site-header {
  width: min(100% - 2rem, var(--maxw));
  margin: 1.1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  position: sticky;
  top: 0.7rem;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 232, 189, 0.8);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 8px 30px rgba(39, 48, 17, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  color: var(--ink-2);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(167, 216, 60, 0.23);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  place-items: center;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-1);
  margin: 3px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 6.4rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #31421a;
  background: rgba(167, 216, 60, 0.28);
  border: 1px solid rgba(136, 194, 63, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 3vw + 1rem, 4.2rem);
  letter-spacing: -0.02em;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.4rem, 2vw + 1rem, 2.45rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.08rem, 1.4vw + 0.8rem, 1.4rem);
}

p {
  margin: 0;
}

.hero-content > p {
  margin-top: 1.1rem;
  max-width: 56ch;
  color: #243019;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.5rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(130deg, var(--eco-primary), var(--eco-secondary));
  color: var(--eco-black);
  box-shadow: 0 8px 24px rgba(136, 194, 63, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.hero-visual {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.metric-card,
.feature,
.partner-card,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.metrics article:first-child {
  padding: 1.1rem;
}

.metric-card {
  padding: 1.1rem;
}

.metric {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.section-heading {
  max-width: 66ch;
  margin-bottom: 1.35rem;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.feature {
  padding: 1.2rem;
}

.feature ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.mini-visual {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.mini-visual img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.partner-banner {
  margin: 0 0 1.1rem;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 280px;
}

.partner-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.story p {
  margin-top: 0.8rem;
  max-width: 72ch;
}

.story-art {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.story-art img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.82rem;
}

.timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.timeline li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(var(--eco-primary), var(--eco-secondary));
}

.timeline p {
  margin-top: 0.5rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.contact {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(244, 249, 232, 0.74)),
    radial-gradient(circle at top left, rgba(167, 216, 60, 0.2), transparent 30%);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/placeholder-contact-texture.png') center / cover no-repeat;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius-xl);
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.1rem;
  margin-top: 1.35rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.84);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-1);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--eco-secondary);
  box-shadow: 0 0 0 3px rgba(136, 194, 63, 0.2);
}

.form-row input:invalid:not(:placeholder-shown),
.form-row textarea:invalid:not(:placeholder-shown) {
  border-color: #b44;
}

.form-submit {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  border: none;
}

.form-note {
  font-size: 0.82rem;
  color: #445532;
  text-align: center;
  margin: 0;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  border: 1px solid transparent;
}

.form-status.success {
  color: #255d10;
  background: rgba(136, 194, 63, 0.14);
  border-color: rgba(136, 194, 63, 0.35);
}

.form-status.error {
  color: #8c2f2f;
  background: rgba(255, 232, 232, 0.95);
  border-color: rgba(177, 76, 76, 0.4);
}

.form-success {
  font-size: 0.9rem;
  color: #2e6b10;
  font-weight: 600;
  text-align: center;
  background: rgba(136, 194, 63, 0.14);
  border: 1px solid rgba(136, 194, 63, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  margin: 0;
}

.partner-card,
.contact-card {
  padding: 1rem;
}

.partner-card p,
.contact-card p {
  margin-top: 0.55rem;
}

.contact-card a {
  font-weight: 600;
  word-break: break-word;
}

.small {
  font-size: 0.88rem;
  color: #445532;
}

.site-footer {
  width: min(100% - 2.2rem, var(--maxw));
  margin: 1rem auto 1.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
}

.site-footer a {
  text-decoration: none;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  background: rgba(167, 216, 60, 0.22);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.8rem;
  }

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

  .metrics article:first-child {
    grid-column: 1 / -1;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-pad {
    width: min(100% - 1.2rem, var(--maxw));
    padding: 3.2rem 0;
  }

  .site-header {
    width: min(100% - 1rem, var(--maxw));
    border-radius: 20px;
    top: 0.5rem;
    padding: 0.5rem;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    padding: 0.45rem;
    display: grid;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
  }

  .partner-banner {
    height: 200px;
  }

  .grid-two,
  .partner-grid,
  .contact-cards,
  .metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }

  .site-footer {
    width: min(100% - 1.2rem, var(--maxw));
    border-radius: 16px;
  }
}
