/* Save Orangutan microsite — "Merawat Hutan, Menjaga Orangutan" */

:root {
  --forest-900: #072a1f;
  --forest-800: #0d3d2d;
  --forest-600: #1f6b46;
  --leaf: #3f9a63;
  --orange: #e8731a;
  --orange-dark: #c25a0c;
  --cream: #faf6ee;
  --sand: #f0e9da;
  --ink: #1d2a24;
  --muted: #5b6a62;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(7, 42, 31, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--forest-800); }
p { margin: 0 0 1em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(232, 115, 26, 0.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline { border-color: var(--forest-600); color: var(--forest-800); background: transparent; }
.btn-outline:hover { background: var(--forest-800); color: #fff; }
.btn[aria-disabled="true"] {
  background: var(--sand);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 42, 31, 0.78) 0%, rgba(7, 42, 31, 0.45) 45%, rgba(7, 42, 31, 0.9) 100%),
    url("hero.jpg") center 30% / cover no-repeat;
}
.hero .topbar { padding-block: 22px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar img { width: 210px; height: auto; }
.topbar a.back { font-size: 0.9rem; text-decoration: none; opacity: 0.85; }
.topbar a.back:hover { opacity: 1; text-decoration: underline; }
.hero-body { flex: 1; display: flex; align-items: center; padding-block: 40px 90px; }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
  max-width: 13ch;
}
.hero h1 em { font-style: normal; color: #ffb36b; }
.hero p.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 40em; color: rgba(255, 255, 255, 0.92); }
.hero .eyebrow { color: #ffb36b; margin-bottom: 1rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

/* Sections */
section { padding-block: clamp(56px, 9vw, 104px); }
.intro { background: var(--cream); }
.intro .grid { display: grid; gap: 40px; }
.pillars { display: grid; gap: 18px; }
.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--leaf);
}
.pillar:nth-child(2) { border-top-color: var(--orange); }
.pillar:nth-child(3) { border-top-color: var(--forest-600); }
.pillar h3 { font-size: 1.25rem; color: var(--forest-800); margin-bottom: 0.35em; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.note { font-size: 0.85rem; color: var(--muted); margin-top: 1.2rem; }

/* Steps */
.how { background: var(--forest-800); color: #fff; }
.how h2 { color: #fff; }
.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 68px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.steps p { margin: 0; color: rgba(255, 255, 255, 0.82); }

/* Partners */
.partners { background: var(--sand); }
.partners .head { max-width: 46em; margin-bottom: 40px; }
.cards { display: grid; gap: 24px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: var(--forest-600);
  margin-bottom: 18px;
}
.card:nth-child(2) .badge { background: var(--orange); }
.card:nth-child(3) .badge { background: var(--leaf); }
.card:nth-child(4) .badge { background: var(--forest-900); }
.card h3 { font-size: 1.45rem; color: var(--forest-800); margin-bottom: 0.1em; }
.card .full { font-size: 0.85rem; font-weight: 600; color: var(--orange-dark); margin-bottom: 0.9em; }
.card p.desc { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.card .site { font-size: 0.88rem; text-align: center; color: var(--forest-600); }

/* Closing */
.closing {
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(7, 42, 31, 0.86), rgba(7, 42, 31, 0.9)),
    url("hero.jpg") center / cover no-repeat;
}
.closing h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.closing p { max-width: 38em; margin-inline: auto; color: rgba(255, 255, 255, 0.9); }
.closing .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 1.6rem; }
.copied { display: block; min-height: 1.4em; margin-top: 12px; font-size: 0.9rem; color: #ffb36b; }

/* Footer */
footer { background: var(--forest-900); color: rgba(255, 255, 255, 0.7); padding-block: 36px; font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer img { width: 180px; height: auto; opacity: 0.9; }
footer a { color: #ffb36b; }

/* Larger screens */
@media (min-width: 760px) {
  .intro .grid { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 64px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps li { padding: 64px 0 0; }
  .steps li::before { top: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
