/* ===== PT. Emiindo Jaya Bersama — Shared Styles ===== */
:root {
  --orange: #f58220;
  --orange-dark: #d96a0b;
  --orange-light: #ffa04d;
  --orange-soft: #fff3e8;
  --dark: #3a3a3c;
  --darker: #2b2b2d;
  --gray: #5f6368;
  --light: #faf7f4;
  --white: #ffffff;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(58,58,60,0.1);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand svg { width: 44px; height: 44px; flex-shrink: 0; }

.brand img { height: 50px; width: auto; flex-shrink: 0; }

.brand .wordmark {
  line-height: 1.1;
}

.brand .wordmark strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand .wordmark strong .emi { color: var(--orange); }
.brand .wordmark strong .indo { color: var(--dark); }

.brand .wordmark small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 1.6px;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

nav a:hover { color: var(--orange); }

nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

nav a.nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
}

nav a.nav-cta:hover { background: var(--orange-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--dark);
  cursor: pointer;
}

/* ===== Page hero (halaman dalam) ===== */
.page-hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(ellipse 70% 80% at 85% 10%, rgba(245,130,32,0.15), transparent),
    linear-gradient(160deg, #fff8f1 0%, #fffaf5 50%, #ffffff 100%);
}

.page-hero .eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  color: var(--dark);
  margin-top: 8px;
}

.page-hero p.lead {
  max-width: 640px;
  color: var(--gray);
  margin-top: 12px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 18px;
}

.breadcrumb a { color: var(--orange); text-decoration: none; font-weight: 600; }

/* ===== Sections ===== */
section { padding: 84px 0; }

.section-title { text-align: center; margin-bottom: 52px; }

.section-title.left { text-align: left; }

.section-title .eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-top: 8px;
  color: var(--dark);
}

.section-title p.sub {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--gray);
}

.bg-soft { background: var(--light); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(245,130,32,0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245,130,32,0.45); }

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange-dark);
}

.btn-outline:hover { background: var(--orange-soft); transform: translateY(-2px); }

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover { background: var(--darker); transform: translateY(-2px); }

/* ===== Cards ===== */
.card {
  background: var(--white);
  border: 1px solid #eee4da;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(58,58,60,0.06);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(245,130,32,0.18);
}

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }

.card p { color: var(--gray); font-size: 0.96rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== Stats strip ===== */
.stats-strip {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: #fff;
  padding: 48px 0;
}

.stats-strip .grid-4 { text-align: center; }

.stats-strip h3 { font-size: 2.1rem; color: var(--orange-light); }

.stats-strip span { color: #cfcfd2; font-size: 0.92rem; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange) 60%, var(--orange-light));
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 12px; }

.cta-band p { opacity: 0.95; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-band .btn { background: #fff; color: var(--orange-dark); }

.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.2); }

/* ===== Footer ===== */
footer {
  background: var(--darker);
  color: #b9b9bd;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }

footer p, footer a, footer li {
  font-size: 0.92rem;
  color: #b9b9bd;
  text-decoration: none;
}

footer a:hover { color: var(--orange-light); }

footer ul { list-style: none; }

footer li { margin-bottom: 8px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand svg { width: 40px; height: 40px; }

.footer-brand img {
  height: 56px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

.footer-brand .wm { font-weight: 800; font-size: 1.1rem; }

.footer-brand .wm .emi { color: var(--orange); }
.footer-brand .wm .indo { color: #fff; }

.footer-bottom {
  border-top: 1px solid #45454a;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav ul {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    box-shadow: 0 12px 24px rgba(58,58,60,0.12);
    display: none;
    align-items: stretch;
  }

  nav ul.open { display: flex; }

  nav ul li { padding: 12px 0; border-bottom: 1px solid #f3ede7; }

  nav ul li:last-child { border-bottom: none; padding-top: 18px; }

  nav a.nav-cta { display: block; text-align: center; }

  .nav-toggle { display: block; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  section { padding: 60px 0; }

  .page-hero { padding: 120px 0 54px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}
