/* Energi Andalan Tbk — Demo Perusahaan Energi & Pertambangan */
/* Palet: #1c1917 (utama), #f59e0b (aksen), tema gelap */

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

:root {
  --bg:        #1c1917;
  --bg2:       #292524;
  --bg3:       #3c3533;
  --border:    #57534e;
  --gold:      #f59e0b;
  --gold-dark: #d97706;
  --gold-pale: #fcd34d;
  --text:      #f5f5f4;
  --text-dim:  #a8a29e;
  --text-faint:#78716c;
  --white:     #ffffff;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --font:      -apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }

/* ─── DEMO BAR ─── */
.demobar {
  background: var(--gold);
  color: #1c1917;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  font-weight: 500;
  position: relative;
  z-index: 1000;
}
.demobar a { color: #1c1917; font-weight: 700; text-decoration: underline; }
.demobar a:hover { opacity: .75; }

/* ─── STICKY HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(28,25,23,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.2; }
.brand-name span { color: var(--gold); display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* checkbox hack nav */
#nav { display: none; }
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .25s;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--text); background: var(--bg2); }
.nav-menu a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: #1c1917 !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

@media (max-width: 820px) {
  .burger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 65px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 4px;
  }
  #nav:checked ~ .nav-menu { display: flex; }
  #nav:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav:checked ~ .burger span:nth-child(2) { opacity: 0; }
  #nav:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu a { padding: 12px 14px; }
}

/* ─── MAIN LAYOUT ─── */
main { min-height: 70vh; }

/* ─── HERO ─── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 20px 90px;
  background: linear-gradient(135deg, #1c1917 0%, #292524 40%, #1a1208 100%);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,158,11,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,158,11,.07) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.35);
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 20px;
  position: relative;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 40px;
  position: relative;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-primary { background: var(--gold); color: #1c1917; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,.35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 20px;
}
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat-lbl { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
@media (max-width: 620px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── SECTION BASE ─── */
.section { padding: 80px 20px; }
.section-alt { background: var(--bg2); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-dim); font-size: 16px; max-width: 560px; }

/* ─── GRID LAYOUTS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ─── CARD ─── */
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(245,158,11,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ─── SERVICE CARDS ─── */
.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-card-img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card-body { padding: 24px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.service-tag {
  display: inline-block;
  background: rgba(245,158,11,.15);
  color: var(--gold-pale);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 14px;
}

/* SVG illustrations (colored shapes) */
.illus-oil {
  background: linear-gradient(135deg, #292524 0%, #1a1007 100%);
}
.illus-gas {
  background: linear-gradient(135deg, #1a2030 0%, #0f1a2a 100%);
}
.illus-coal {
  background: linear-gradient(135deg, #1c1c1c 0%, #2a2016 100%);
}
.illus-ebt {
  background: linear-gradient(135deg, #0d2010 0%, #1a2820 100%);
}

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,158,11,.1) 0%, rgba(245,158,11,.04) 100%);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ─── TWO-COL with feature list ─── */
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-dim); font-size: 15px; }
.feat-list li::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23f59e0b' fill-opacity='.18'/%3E%3Cpath d='M6 10.5l2.5 2.5 5-5' stroke='%23f59e0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ─── PORTFOLIO ─── */
.porto-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.porto-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.porto-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}
.porto-card-body { padding: 20px; }
.porto-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.porto-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.porto-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  display: inline-block;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
}
.tag-gold { background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.3); color: var(--gold-pale); }

/* ─── TEAM ─── */
.team-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.team-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #1c1917;
}
.team-card h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 6px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.tl-year { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .08em; margin-bottom: 4px; }
.tl-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tl-desc { font-size: 14px; color: var(--text-dim); }

/* ─── FORM ─── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg3); }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; }

/* ─── CONTACT INFO ─── */
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(245,158,11,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.contact-item h4 { font-size: 13px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: var(--text); }
.contact-item a { color: var(--gold); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ─── ACCORDION (tentang) ─── */
details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
details summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  background: var(--bg3);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-size: 18px;
  color: var(--gold);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] { border-color: rgba(245,158,11,.35); }
details .acc-body { padding: 16px 20px; color: var(--text-dim); font-size: 14.5px; line-height: 1.7; background: var(--bg2); }

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 60%, #fcd34d 100%);
  padding: 64px 20px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #1c1917; margin-bottom: 14px; }
.cta-band p { font-size: 16px; color: #44371a; margin-bottom: 28px; }
.btn-dark { background: #1c1917 !important; color: var(--gold) !important; border: none; }
.btn-dark:hover { background: #292524 !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.4); }

/* ─── FOOTER ─── */
footer {
  background: #111110;
  border-top: 1px solid var(--border);
  padding: 56px 20px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { }
.footer-brand .brand-name { font-size: 17px; font-weight: 800; color: var(--text); line-height: 1.2; }
.footer-brand .brand-name small { color: var(--gold); display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-tagline { color: var(--text-dim); font-size: 13.5px; margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-contact-line { display: flex; align-items: flex-start; gap: 8px; color: var(--text-dim); font-size: 13.5px; margin-bottom: 10px; }
.footer-contact-line svg { width: 16px; height: 16px; fill: var(--gold); min-width: 16px; margin-top: 2px; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--text-dim); }

/* ─── UTILITIES ─── */
.mt8  { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.mt48 { margin-top: 48px; }
.mb8  { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mb48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ─── VISUAL SHAPES (SVG-based illus) ─── */
.shape-oil {
  width: 120px; height: 120px;
}
.shape-gear {
  animation: rotateSlow 12s linear infinite;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.pulse-ring {
  animation: pulseRing 2.5s ease-out infinite;
}
@keyframes pulseRing {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* ─── PAGE-SPECIFIC tweaks ─── */
.hero-media {
  max-width: 520px;
  margin: 50px auto 0;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .2s;
}
.value-card:hover { border-color: var(--gold); }
.value-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(245,158,11,.14);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.value-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.value-card p { font-size: 13.5px; color: var(--text-dim); }
