/* ============================================================
   PT. PARORO RASOKI BERKAH — Design System
   Display: Fraunces (editorial serif, warmth + heritage)
   Body:    Plus Jakarta Sans (clean, professional)
   Motif:   Fine gold palm-frond linework (signature element)
   ============================================================ */

:root {
  --forest-950: #0f2317;
  --forest-800: #163524;
  --forest-700: #1e4a30;
  --palm-500: #4c7a52;
  --palm-300: #8ba98f;
  --gold-600: #a17b34;
  --gold-500: #b9924a;
  --gold-300: #d8b878;
  --gold-200: #e4d2a6;
  --paper-50: #f7f4ec;
  --paper-100: #efe9d8;
  --ink-900: #17201a;
  --ink-700: #384339;
  --ink-500: #667065;

  --shadow-soft: 0 20px 50px -25px rgba(15, 35, 23, 0.35);
  --shadow-card: 0 1px 2px rgba(15,35,23,0.04), 0 12px 30px -18px rgba(15,35,23,0.18);

  --serif: 'Fraunces', serif;
  --sans: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  color: var(--forest-950);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow .frond-mark {
  width: 16px;
  height: 28px;
  color: var(--gold-500);
  flex-shrink: 0;
}
.eyebrow.on-dark { color: var(--gold-300); }

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold {
  background: var(--gold-500);
  color: var(--forest-950);
}
.btn-gold:hover { background: var(--gold-300); transform: translateY(-1px); }

.btn-ghost-light {
  border-color: rgba(247,244,236,0.35);
  color: var(--paper-50);
}
.btn-ghost-light:hover { border-color: var(--gold-300); color: var(--gold-300); }

.btn-ghost-dark {
  border-color: rgba(23,32,26,0.2);
  color: var(--forest-950);
}
.btn-ghost-dark:hover { border-color: var(--forest-700); background: rgba(30,74,48,0.05); }

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.35s ease;
  background: transparent;
}
.site-nav.solid {
  background: rgba(15,35,23,0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img { height: 38px; width: auto; }
.nav-brand .txt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--paper-50);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-brand .txt small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-300);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(247,244,236,0.78);
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-300);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper-50); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  border: 1.5px solid var(--gold-500);
  color: var(--gold-300) !important;
  padding: 9px 22px;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-500); color: var(--forest-950) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--paper-50);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--forest-950);
  padding: 200px 0 140px;
  overflow: hidden;
}
.hero-frond {
  position: absolute;
  top: -8%;
  right: -4%;
  width: 420px;
  height: auto;
  color: var(--gold-500);
  opacity: 0.16;
  transform: rotate(12deg);
  pointer-events: none;
}
.hero-frond.small {
  right: auto;
  left: -6%;
  top: 30%;
  width: 220px;
  opacity: 0.09;
  transform: rotate(-25deg);
}
.hero-inner { position: relative; max-width: 720px; }
.hero h1 {
  font-size: 52px;
  color: var(--paper-50);
  margin-bottom: 26px;
}
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero .lede { color: rgba(247,244,236,0.75); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero.compact { padding: 168px 0 90px; }
.hero.compact h1 { font-size: 40px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.section.on-forest { background: var(--forest-950); }
.section.on-forest-700 { background: var(--forest-700); }
.section.on-paper-100 { background: var(--paper-100); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 34px; margin-bottom: 18px; }
.on-forest .section-head h2,
.on-forest-700 .section-head h2 { color: var(--paper-50); }
.on-forest .lede, .on-forest-700 .lede { color: rgba(247,244,236,0.7); }

/* ---------- About/legal split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.85fr 1fr; }
.split.reverse .split-media { order: -1; }
.split-media {
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(155deg, var(--forest-700), var(--forest-950));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-media .frond-mark {
  width: 55%;
  height: 55%;
  color: var(--gold-500);
  opacity: 0.5;
}
.split-media .media-label {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,236,0.55);
  font-weight: 600;
}

.body-copy {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-700);
  text-align: justify;
}

/* ---------- Fact strip ---------- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23,32,26,0.1);
  border-bottom: 1px solid rgba(23,32,26,0.1);
  margin: 48px 0;
}
.fact {
  padding: 26px 24px;
  border-right: 1px solid rgba(23,32,26,0.1);
}
.fact:last-child { border-right: none; }
.fact .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
}
.fact .v {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--forest-950);
  line-height: 1.3;
}

/* ---------- Value props (hairline-divided, not cards) ---------- */
.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value-item {
  padding: 8px 32px 8px 0;
  border-left: 1px solid rgba(247,244,236,0.15);
  padding-left: 32px;
}
.value-item:first-child { border-left: none; padding-left: 0; }
.value-item .frond-mark {
  width: 15px; height: 26px;
  color: var(--gold-500);
  margin-bottom: 20px;
}
.value-item h4 {
  color: var(--paper-50);
  font-size: 19px;
  margin-bottom: 12px;
}
.value-item p {
  color: rgba(247,244,236,0.78);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Mission list (real numbered sequence) ---------- */
.mission-list { display: flex; flex-direction: column; }
.mission-row {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid rgba(23,32,26,0.1);
}
.mission-row:last-child { border-bottom: 1px solid rgba(23,32,26,0.1); }
.mission-index {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-500);
  flex-shrink: 0;
  width: 60px;
}
.mission-row h4 { font-size: 19px; color: var(--forest-950); margin-bottom: 8px; }
.mission-row p { color: var(--ink-500); font-size: 15px; line-height: 1.7; margin: 0; max-width: 560px; }

/* ---------- Pull quote (Visi) ---------- */
.pull-quote {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.5;
  color: var(--forest-950);
  max-width: 780px;
  position: relative;
  padding-left: 34px;
}
.pull-quote::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--gold-500);
}

/* ---------- Services (Layanan) ---------- */
.service-list { display: flex; flex-direction: column; gap: 0; }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid rgba(23,32,26,0.1);
}
.service-row:last-child { border-bottom: 1px solid rgba(23,32,26,0.1); }
.service-mark { color: var(--gold-500); width: 42px; height: 72px; }
.service-row h3 { font-size: 24px; margin-bottom: 12px; }
.service-row p { color: var(--ink-500); font-size: 15.5px; line-height: 1.8; max-width: 640px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest-950);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { color: var(--paper-50); font-size: 32px; margin-bottom: 22px; }
.cta-band .lede { color: rgba(247,244,236,0.7); margin: 0 auto 34px; text-align: center; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 16px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(23,32,26,0.1);
}
.contact-info-list li:last-child { border-bottom: 1px solid rgba(23,32,26,0.1); }
.contact-info-list .ic {
  width: 20px; height: 20px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-list strong { display: block; font-size: 13px; color: var(--forest-950); margin-bottom: 3px; }
.contact-info-list span { color: var(--ink-500); font-size: 14.5px; }

.map-frame {
  margin-top: 28px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(23,32,26,0.12);
  filter: grayscale(0.3) contrast(1.05);
}
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }

.form-card {
  background: #ffffff;
  border: 1px solid rgba(23,32,26,0.08);
  border-radius: 4px;
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 9px;
}
.form-row input, .form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(23,32,26,0.18);
  background: transparent;
  padding: 11px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-900);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold-500); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.form-note.success { background: rgba(76,122,82,0.12); color: var(--forest-700); border: 1px solid rgba(76,122,82,0.25); }
.form-note.error { background: rgba(183,28,28,0.08); color: #8a1f1f; border: 1px solid rgba(183,28,28,0.2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-950);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer-frond {
  position: absolute;
  right: -3%;
  bottom: -10%;
  width: 260px;
  color: var(--gold-500);
  opacity: 0.08;
  transform: rotate(-8deg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  position: relative;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-family: var(--serif); font-size: 16px; color: var(--paper-50); }
.footer-col p { color: rgba(247,244,236,0.6); font-size: 14px; line-height: 1.7; margin: 0; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 18px;
}
.footer-col li { color: rgba(247,244,236,0.65); font-size: 14px; margin-bottom: 10px; list-style: none; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(247,244,236,0.1);
  display: flex;
  justify-content: space-between;
  color: rgba(247,244,236,0.4);
  font-size: 13px;
  position: relative;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex !important;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: var(--forest-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
  }
  .nav-toggle { display: flex; position: relative; z-index: 101; }
  .hero h1 { font-size: 38px; }
  .hero { padding: 150px 0 90px; }
  .section { padding: 72px 0; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .fact-strip, .value-row { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-right: none; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(23,32,26,0.1); }
  .value-item:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .value-item:nth-child(n+3) { border-top: 1px solid rgba(247,244,236,0.15); padding-top: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-card { padding: 28px; }
  .service-row { grid-template-columns: 1fr; }
}
