/* =========================================================
   PT FARDAN ALFATH INDONESIA — STYLESHEET
   Hasan Growth Studio (hasangrowth.com)
   ========================================================= */

:root {
  --navy-900: #04321a;
  --navy-800: #025726;
  --navy-700: #0b6f34;
  --navy-600: #158c42;
  --gold: #7cc142;
  --gold-soft: #a3db6e;
  --amber: #e8a33d;
  --amber-soft: #f3c26a;
  --blue-accent: #3d7fb0;
  --ink: #17212f;
  --muted: #5b6b7f;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f7f6f1;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(2, 87, 38, 0.08);
  --shadow: 0 18px 45px -22px rgba(2, 87, 38, 0.5);
  --container: 1200px;
  --gutter: 24px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; color: var(--navy-900); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy-900); color: #d9e2ee; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.hidden { display: none !important; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }
.section.dark .section-head p { color: #a9bdd4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .25s ease; font-family: var(--font-body);
}
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(4, 50, 26, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.navbar.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); background: rgba(4, 50, 26, .98); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center; overflow: hidden; background: #fff; padding: 3px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: .93rem; letter-spacing: .06em; }
.brand-text span { font-size: .66rem; letter-spacing: .3em; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: #cfdae8; font-size: .88rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: #cfdae8; font-weight: 700; font-size: .78rem;
  padding: 6px 14px; border-radius: 999px; cursor: pointer; font-family: var(--font-body);
}
.lang-switch button.active { background: var(--gold); color: var(--navy-900); }
.nav-cta { padding: 10px 18px; font-size: .84rem; }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; padding: 130px 0 90px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease; animation: hero-zoom 14s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(6,12,10,.86) 6%, rgba(6,14,12,.62) 45%, rgba(6,14,12,.28) 100%);
}
.hero-dots { position: absolute; z-index: 2; right: 28px; bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; padding: 0; cursor: pointer; transition: .25s ease;
}
.hero-dots button.active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero h1 {
  color: #fff; font-size: clamp(1.9rem, 5vw, 3.35rem); letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.22rem); color: #d5e0ee; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-badges span {
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 8px 16px;
  font-size: .8rem; font-weight: 600; color: #e4ecf6; background: rgba(255,255,255,.06);
}
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.about-list li::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--gold); margin-top: 10px; flex: none;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-800); }
.stat span { font-size: .8rem; color: var(--muted); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s ease; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d3dce8; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 22px 22px 26px; }
.card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .93rem; }

.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: .3s ease; height: 100%;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(201,162,39,.14); color: #8d6f16; font-family: var(--font-head); font-weight: 800; margin-bottom: 16px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .93rem; }

.section.dark .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section.dark .feature p { color: #a9bdd4; }
.section.dark .feature .num { background: rgba(201,162,39,.18); color: var(--gold-soft); }

/* ---------- Gallery strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.strip img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy-900);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-q .sign { color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius); padding: 52px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #cddcec; margin: 12px auto 26px; max-width: 620px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(201,162,39,.14); color: #8d6f16; display: grid; place-items: center; flex: none; font-weight: 800; font-family: var(--font-head); font-size: .8rem; }
.info-item strong { display: block; font-size: .93rem; }
.info-item a, .info-item span { color: var(--muted); font-size: .93rem; word-break: break-word; }
.info-item a:hover { color: var(--navy-700); }
.map-frame { border: 0; width: 100%; height: 260px; border-radius: var(--radius-sm); margin-top: 22px; filter: grayscale(.15); }
.office-photo { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 22px; box-shadow: var(--shadow-sm); transition: transform .5s ease; }
.office-photo:hover { transform: scale(1.03); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .93rem; background: #fbfcfe; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(201,162,39,.4); border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9db1c9; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: .9rem; }
.footer .disclaimer { font-size: .8rem; line-height: 1.7; margin-top: 18px; color: #7d93ad; }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem;
}
.footer-bottom a { color: var(--gold); font-weight: 600; }

/* ---------- Group heading (Products) ---------- */
.group-heading { font-size: 1.2rem; margin: 12px 0 22px; color: var(--navy-800); }
.group-heading:first-of-type { margin-top: 0; }

/* ---------- Buyer/Seller Process tabs & timeline ---------- */
.process-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 12px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06);
  color: #cfdae8; font-family: var(--font-body); font-weight: 700; font-size: .92rem; cursor: pointer; transition: .25s ease;
}
.tab-btn.active { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.tab-panel-title { text-align: center; color: var(--gold-soft); margin-bottom: 28px; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
.timeline { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.timeline-step { display: flex; gap: 20px; position: relative; padding-bottom: 34px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: rgba(255,255,255,.14);
}
.timeline-step:last-child::before { display: none; }
.timeline-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy-900); flex: none;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; z-index: 1;
}
.timeline-body { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 18px 22px; flex: 1; }
.timeline-body h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.timeline-body ul { list-style: none; display: grid; gap: 6px; }
.timeline-body li { color: #a9bdd4; font-size: .9rem; padding-left: 16px; position: relative; }
.timeline-body li::before { content: "–"; position: absolute; left: 0; color: var(--gold-soft); }

.principle-box {
  margin-top: 56px; padding: 36px; border-radius: var(--radius); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); text-align: center;
}
.principle-main { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.principle-box .core-line { font-size: 1.3rem; color: #ffffff; }
.principle-box .core-note { color: #a9bdd4; max-width: 620px; margin: 0 auto; }
.value-icons { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 22px; }
.value-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.value-icon span {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.5);
}
.value-icon span svg { width: 22px; height: 22px; }
.value-icon.c-green span { background: rgba(124,193,66,.18); color: #9adf5c; }
.value-icon.c-blue span { background: rgba(66,142,193,.18); color: #7ec2f0; }
.value-icon.c-amber span { background: rgba(232,163,61,.18); color: #f3c26a; }
.value-icon.c-teal span { background: rgba(45,166,158,.18); color: #6fd9cf; }
.value-icon small { color: #cfdae8; font-size: .78rem; font-weight: 600; }
.tagline { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; color: var(--gold); }


/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 88px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold); border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; font-size: 1.1rem; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.6);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--navy-700); }

/* Hero Ken Burns handled per-slide in .hero-slide above */
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  background: #25d366; color: #fff; border-radius: 999px; padding: 13px 20px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 12px 30px -12px rgba(37,211,102,.9); display: inline-flex; align-items: center; gap: 9px;
}
.wa-float:hover { transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0; background: var(--navy-900);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); width: 100%; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 68px 0; }
  .grid-3, .grid-4, .grid-2, .partner-grid, .stats { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 120px 0 72px; }
  .cta-band { padding: 34px 22px; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { padding: 12px 16px; font-size: .84rem; }
}

/* Facilitator disclaimer box (About section) */
.disclaimer-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(232, 163, 61, 0.08);
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted, #5b6472);
}

/* Vision & Mission */
.vm-label { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--navy-800); margin-bottom: 10px; }
.vm-vision { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.vm-vision p { color: var(--muted); font-size: 1.02rem; margin-top: 6px; }
.vm-mission-head { text-align: center; margin-bottom: 24px; }
.core-box {
  margin-top: 44px; text-align: center; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 30px; border-left: 3px solid var(--amber); border-radius: var(--radius-sm); background: rgba(232, 163, 61, 0.06);
}
.core-tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--amber); }
.core-line { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-900); }
.core-note { font-size: .88rem; color: var(--muted); max-width: 680px; margin: 0 auto; }

/* Terminal Hubs (Tank Farm section) */
.hubs-block { margin-top: 40px; }
.hubs-block > h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-soft); text-align: center; margin-bottom: 20px !important; }
.hubs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.hub-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: .3s ease;
}
.hub-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }
.hub-flag { font-size: 2rem; line-height: 1; }
.hub-item strong { font-size: 1rem; color: #fff; }
.hub-region { font-size: .78rem; color: #a9bdd4; }
