/* Citarasa Food Industries — style.css */
/* Palet: #b45309 (amber/cokelat tua), #dc2626 (merah), tema terang */

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

:root {
  --primary: #b45309;
  --primary-dark: #92400e;
  --primary-light: #fef3c7;
  --accent: #dc2626;
  --accent-dark: #991b1b;
  --accent-light: #fee2e2;
  --bg: #fffbf7;
  --surface: #ffffff;
  --text: #1c1917;
  --text-muted: #78716c;
  --border: #e7e5e4;
  --shadow: 0 2px 12px rgba(180,83,9,0.10);
  --shadow-lg: 0 8px 32px rgba(180,83,9,0.14);
  --radius: 10px;
  --radius-lg: 18px;
  --font: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

/* ============ DEMO BAR ============ */
.demobar {
  background: #1c1917;
  color: #fef3c7;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  line-height: 1.5;
}
.demobar a { color: #fbbf24; text-decoration: underline; }
.demobar a:hover { color: #fef3c7; }

/* ============ HEADER / NAV ============ */
header {
  background: var(--surface);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 37px;
  z-index: 900;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1140px;
  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;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand span { color: var(--accent); }

/* checkbox-hack nav */
#nav { display: none; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}
.menu {
  list-style: none;
  display: flex;
  gap: 4px;
}
.menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.menu a.active { background: var(--primary); color: #fff; }

@media (max-width: 820px) {
  .burger { display: flex; }
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 2px solid var(--primary);
    padding: 12px 20px 18px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  #nav:checked ~ .menu { display: flex; }
  header { position: relative; top: 0; }
  .demobar { position: relative; }
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--accent) 100%);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(220,38,38,0.25) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(254,243,199,0.10) 0%, transparent 50%);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #fbbf24; }
.hero p { font-size: 1.1rem; opacity: 0.92; max-width: 580px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.9rem; font-weight: 900; color: #fbbf24; }
.hero-stat span { font-size: 0.82rem; opacity: 0.85; }

/* ============ SECTIONS ============ */
section { padding: 64px 20px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title em { font-style: normal; color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 1.02rem; max-width: 560px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ============ CARDS / GRID ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 44px 16px; }
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--primary); }
.card-title { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ============ KEUNGGULAN / FITUR STRIP ============ */
.fitur-strip { background: var(--primary); color: #fff; }
.fitur-strip .section-title { color: #fff; }
.fitur-strip .section-title em { color: #fbbf24; }
.fitur-strip .section-label { color: #fbbf24; }
.fitur-strip .section-subtitle { color: rgba(255,255,255,0.82); }
.fitur-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fitur-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  min-width: 36px;
}
.fitur-body strong { display: block; font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.fitur-body p { font-size: 0.88rem; opacity: 0.85; }

/* ============ PRODUK / LAYANAN ============ */
.produk-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.produk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.produk-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.produk-thumb svg { width: 72px; height: 72px; opacity: 0.92; }
.produk-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.produk-info { padding: 18px 20px 20px; }
.produk-info h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.produk-info p { font-size: 0.85rem; color: var(--text-muted); }

/* ============ PORTOFOLIO ============ */
.porto-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.porto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.porto-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.porto-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.porto-info { padding: 18px 20px; }
.porto-info h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.porto-info p { font-size: 0.84rem; color: var(--text-muted); }
.porto-meta { margin-top: 10px; font-size: 0.78rem; color: var(--primary); font-weight: 700; }

/* ============ TENTANG ============ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; } }
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual svg { width: 55%; height: auto; opacity: 0.9; }
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: 16px; }
.about-text h2 em { font-style: normal; color: var(--primary); }
.about-text p { color: var(--text-muted); margin-bottom: 14px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}
.badge-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* ============ TIM ============ */
.tim-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 28px 20px;
  transition: transform 0.22s;
}
.tim-card:hover { transform: translateY(-4px); }
.tim-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
}
.tim-name { font-size: 1rem; font-weight: 800; margin-bottom: 3px; }
.tim-role { font-size: 0.82rem; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.tim-desc { font-size: 0.83rem; color: var(--text-muted); }

/* ============ MITRA / KLIEN ============ */
.mitra-section { background: #fef3c7; }
.mitra-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.mitra-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 28px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.mitra-item:hover { border-color: var(--primary); color: var(--primary-dark); }

/* ============ SERTIFIKAT ============ */
.sertif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.sertif-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sertif-icon svg { width: 22px; height: 22px; color: #fff; }
.sertif-item strong { font-size: 0.92rem; display: block; }
.sertif-item small { font-size: 0.78rem; color: var(--text-muted); }

/* ============ TESTIMONIAL ============ */
.testi-section { background: var(--primary-light); }
.testi-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.testi-text { font-size: 0.95rem; font-style: italic; color: var(--text); margin-bottom: 16px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 800; font-size: 0.9rem; }
.testi-co { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 3px; }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, #f97316 100%);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 12px; }
.cta-band p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }

/* ============ KONTAK ============ */
.kontak-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .kontak-grid { grid-template-columns: 1fr; } }
.kontak-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.kontak-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontak-icon-wrap svg { width: 22px; height: 22px; color: var(--primary); }
.kontak-info-item strong { display: block; font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }
.kontak-info-item span { font-size: 0.97rem; font-weight: 700; }

/* ============ FORM ============ */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 20px; color: var(--primary-dark); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 7px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }
.form-submit { width: 100%; padding: 13px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: background 0.2s; font-family: var(--font); }
.form-submit:hover { background: var(--primary-dark); }

/* ============ FOOTER ============ */
footer {
  background: #1c1917;
  color: rgba(255,255,255,0.8);
  padding: 48px 20px 0;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { color: #fff; font-weight: 900; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand span { color: #fbbf24; }
.footer-desc { font-size: 0.84rem; line-height: 1.7; opacity: 0.75; }
.footer-col h4 { color: #fbbf24; font-size: 0.82rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fbbf24; }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 0.8rem;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ LAYANAN HALAMAN ============ */
.layanan-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  border-top: 4px solid var(--primary);
  transition: transform 0.22s, box-shadow 0.22s;
}
.layanan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.layanan-card.accent { border-top-color: var(--accent); }
.layanan-card .card-icon { background: var(--primary-light); }
.layanan-card.accent .card-icon { background: var(--accent-light); }
.layanan-card.accent .card-icon svg { color: var(--accent); }
.layanan-list { list-style: none; margin-top: 12px; }
.layanan-list li { display: flex; align-items: center; gap: 8px; font-size: 0.87rem; color: var(--text-muted); padding: 5px 0; border-bottom: 1px solid var(--border); }
.layanan-list li:last-child { border-bottom: none; }
.layanan-list li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.layanan-card.accent .layanan-list li::before { background: var(--accent); }
.proses-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.proses-step:last-child { border-bottom: none; }
.proses-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proses-body strong { font-size: 1rem; font-weight: 800; display: block; margin-bottom: 4px; }
.proses-body p { font-size: 0.87rem; color: var(--text-muted); }

/* ============ UTILITY ============ */
.bg-surface { background: var(--surface); }
.bg-light { background: #fef9f0; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.divider { height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent), transparent); border: none; border-radius: 2px; margin: 0; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--primary-light);
  padding: 10px 20px;
  font-size: 0.83rem;
  color: var(--primary-dark);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #c2410c 100%);
  color: #fff;
  padding: 56px 20px 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 1.05rem; opacity: 0.88; max-width: 520px; margin: 0 auto; }
