/* ==========================================================================
   Dalwa Cafe — prototype stylesheet
   Flat colours only. No gradients, no shadows-as-decoration.
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */
:root {
  --navy-900: #071a33;
  --navy-700: #0e2a4f;
  --navy-500: #1c4b86;
  --steel: #7a8ca6;
  --steel-light: #c2cddb;

  --cream: #f2f1ec;
  --cream-deep: #e5e3da;
  --paper: #ffffff;
  --bar: #071a33;

  --ink: #1c1c1a;
  --muted: #6e6e68;
  --line: #e0ded6;

  --r-pill: 999px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  --h-header: 76px;
  --h-bar: 60px;

  --shell: 1200px;
}

/* --- reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--navy-700);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* --- layout helpers ------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--tight { padding: 64px 0; }

.stack-lg > * + * { margin-top: 24px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: background-color .15s linear, color .15s linear, border-color .15s linear;
}
.btn--solid { background: var(--navy-700); color: #fff; }
.btn--solid:hover { background: var(--navy-900); }
.btn--ghost { border: 2px solid var(--navy-700); color: var(--navy-700); }
.btn--ghost:hover { background: var(--navy-700); color: #fff; }
.btn--white { background: #fff; color: var(--bar); font-size: 14px; padding: 10px 24px; }
.btn--sm { padding: 10px 22px; font-size: 14px; }
.chev { width: 14px; height: 14px; flex-shrink: 0; }

/* --- announcement bar ----------------------------------------------------- */
.announce {
  background: var(--bar);
  color: #fff;
  min-height: var(--h-bar);
  display: flex;
  align-items: center;
  position: sticky;
  top: var(--h-header);
  z-index: 40;
}
.announce .shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.announce p { font-weight: 700; font-size: 15px; margin: 0; }

/* --- header --------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  height: var(--h-header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}
.header .shell {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 32px; height: 32px; }
.brand__name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--navy-700);
  line-height: 1.1;
}
.brand__name span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--steel); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 22px; }
.nav__list a {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-700);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover { border-bottom-color: var(--steel-light); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--navy-700); }

/* hanya berisi tombol burger — disembunyikan sepenuhnya di layar lebar
   agar nav rata kanan sejajar tepi shell */
.header__aside { display: none; align-items: center; flex-shrink: 0; }

.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy-700); position: relative; }
.burger span::before,
.burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy-700); }
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }

/* --- ghost outline heading ------------------------------------------------ */
.ghost {
  position: absolute;
  left: 0;
  right: 0;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(64px, 11vw, 148px);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cream-deep);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.has-ghost { position: relative; overflow: hidden; }

/* --- hero ----------------------------------------------------------------- */
.hero { background: var(--cream); position: relative; }
.hero__slide { display: none; }
.hero__slide.is-active { display: block; }
.hero .shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero h1 { font-size: clamp(48px, 6.4vw, 88px); }
.hero__sub {
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  color: var(--steel);
  max-width: 26ch;
  line-height: 1.35;
}
.hero__cta { margin-top: 36px; }

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
}
.hero__nav--prev { left: 24px; }
.hero__nav--next { right: 24px; }

/* --- image placeholders --------------------------------------------------- */
.ph {
  background: var(--cream-deep);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  color: var(--steel-light);
}
.ph svg { width: 84px; height: 84px; opacity: .85; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--round { border-radius: 50%; }
.ph--paper { background: var(--cream); }

/* --- story ---------------------------------------------------------------- */
.story__ghost { top: 40px; }
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.story h2 { font-size: clamp(44px, 5.4vw, 76px); position: relative; }
.story__facts { margin-top: 8px; }
.story__facts li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.story__facts dt { font-weight: 700; color: var(--navy-700); min-width: 172px; }
.story__facts dd { margin: 0; color: var(--muted); }
.story__row {
  display: grid;
  grid-template-columns: 172px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.story__row dt { font-weight: 700; color: var(--navy-700); margin: 0; }
.story__row dd { margin: 0; color: var(--muted); }

.center-cta { display: flex; justify-content: center; margin-top: 56px; }

/* --- section head --------------------------------------------------------- */
.head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  position: relative;
}
.head h2 { font-size: clamp(44px, 5.6vw, 80px); }
.head__note {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 500;
  color: var(--steel);
  line-height: 1.35;
  max-width: 22ch;
  justify-self: end;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
}

/* --- news cards ----------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__media { border-radius: 0; aspect-ratio: 4 / 3; }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__title {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__excerpt {
  font-size: 15px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}
.card__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
}

/* --- app section ---------------------------------------------------------- */
.app__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.app h2 { font-size: clamp(38px, 4.6vw, 62px); }
.app__lead { margin-top: 24px; color: var(--muted); max-width: 40ch; }
.app__badges { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  line-height: 1.15;
}
.badge small { display: block; font-size: 10px; opacity: .8; }
.badge strong { display: block; font-size: 15px; font-weight: 700; }

.phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: center; }
.phone {
  border: 8px solid var(--ink);
  border-radius: 32px;
  aspect-ratio: 9 / 19;
  background: var(--cream);
  padding: 14px;
  overflow: hidden;
}
.phone:first-child { transform: translateY(28px); }
.phone__bar { height: 10px; width: 46px; background: var(--ink); border-radius: 999px; margin: 0 auto 16px; }
.phone__row { height: 44px; background: var(--paper); border-radius: 10px; margin-bottom: 10px; border: 1px solid var(--line); }
.phone__row--tall { height: 92px; }
.phone__row--fill { background: var(--navy-700); border-color: var(--navy-700); }

/* --- promo ---------------------------------------------------------------- */
.promo-panel {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 72px 40px 80px;
  position: relative;
  overflow: hidden;
}
.promo-panel .ghost { top: 44px; text-align: center; -webkit-text-stroke-color: #dedbd2; }
.promo__head { text-align: center; position: relative; margin-bottom: 56px; }
.promo__head h2 { font-size: clamp(40px, 5vw, 68px); }
.promo__head p { margin-top: 14px; color: var(--steel); font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; }

.promo-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 28px;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
}
.promo-card__value { font-size: 56px; font-weight: 800; color: var(--navy-700); letter-spacing: -0.04em; line-height: 1; }
.promo-card__value sup { font-size: 26px; top: -.6em; }
.promo-card__label { font-size: 19px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.promo-card__body { margin-top: 16px; font-size: 15px; color: var(--muted); }
.promo-card__terms { margin-top: auto; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* --- testimonials --------------------------------------------------------- */
.testi { text-align: center; }
.testi h2 { font-size: clamp(44px, 5.4vw, 76px); }
.pill-label {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 34px;
  border: 1px dashed var(--steel);
  border-radius: var(--r-pill);
  color: var(--steel);
  font-size: 17px;
  font-weight: 500;
}
.testi__grid { margin-top: 56px; }
.quote {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: left;
  position: relative;
  font-size: 16px;
  color: var(--ink);
}
.quote::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%) rotate(45deg);
  width: 26px;
  height: 26px;
  background: var(--cream);
  border-radius: 4px;
}
.quote__mark { color: var(--steel-light); font-size: 40px; line-height: .5; display: block; margin-bottom: 14px; font-weight: 800; }
.person { margin-top: 40px; text-align: center; }
.person__logo {
  width: 46px; height: 46px; margin: 0 auto 14px;
  border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--navy-700);
}
.person__name { font-weight: 800; font-size: 19px; color: var(--ink); }
.person__role { font-size: 14px; color: var(--muted); margin-top: 4px; }

.dots { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); padding: 0; }
.dots button[aria-selected="true"] { background: var(--navy-700); }

/* --- social --------------------------------------------------------------- */
.social-block { background: var(--cream); text-align: center; }
.social-block__label { color: var(--steel); font-weight: 700; font-size: 19px; }
.social-block h2 { font-size: clamp(44px, 6vw, 84px); margin-top: 10px; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.social-grid .ph { border-radius: var(--r-md); }

/* --- footer --------------------------------------------------------------- */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.footer h3 { font-size: 18px; color: var(--ink); margin-bottom: 18px; }
.footer__line { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.footer__line svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--navy-700); }
.footer__note { font-size: 15px; color: var(--ink); }
.footer__note em { color: var(--muted); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--navy-700); }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
}
.footer__social svg { width: 16px; height: 16px; }

/* --- page hero (inner pages) ---------------------------------------------- */
.page-hero { padding: 72px 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-hero__kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.page-hero__kicker::before { content: ""; width: 48px; height: 2px; background: var(--navy-700); }
.page-hero__kicker span { font-size: 20px; font-weight: 500; color: var(--navy-700); }
.page-hero__kicker strong { font-weight: 800; }
.page-hero h1 { font-size: clamp(42px, 5.4vw, 74px); }
.page-hero p { margin-top: 26px; font-size: 19px; color: var(--muted); max-width: 44ch; }

.collage { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.collage .ph { aspect-ratio: auto; height: 100%; min-height: 150px; border-radius: 12px; }
.collage .ph:last-child { grid-row: span 2; }

/* --- store ---------------------------------------------------------------- */
.map-frame {
  height: 520px;
  background: var(--cream-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--steel);
  font-weight: 700;
  border: 1px solid var(--line);
}
.map-frame small { font-weight: 500; color: var(--muted); }

.store-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: start;
  width: 100%;
  text-align: left;
}
.store-card:hover { border-color: var(--steel); }
.store-card .ph { aspect-ratio: 1/1; border-radius: 12px; }
.store-card h3 { font-size: 24px; color: var(--ink); }
.store-card__addr { display: flex; gap: 10px; font-size: 15px; color: var(--muted); margin-top: 14px; }
.store-card__addr svg { width: 16px; height: 16px; color: var(--navy-700); flex-shrink: 0; margin-top: 3px; }
.store-card__link { display: inline-block; margin-top: 10px; color: var(--navy-500); font-weight: 700; font-size: 15px; }
.store-card__hours { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); margin-top: 14px; }
.store-card__hours svg { width: 16px; height: 16px; color: var(--navy-700); }
.store-card__go { display: flex; justify-content: flex-end; margin-top: 14px; color: var(--navy-700); }

.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.chip[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* --- modal ---------------------------------------------------------------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(28, 28, 26, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.modal__box {
  background: var(--paper);
  border-radius: var(--r-lg);
  max-width: 1080px;
  width: 100%;
  max-height: 84vh;
  overflow: auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.modal__close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 36px;
  height: 36px;
  color: #fff;
}
.modal h3 { font-size: 34px; color: var(--ink); margin-bottom: 18px; }

/* --- values carousel ------------------------------------------------------ */
.values { position: relative; }
.values__title { text-align: center; font-size: clamp(44px, 6vw, 82px); }
.values__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 24px;
  scrollbar-width: none;
}
.values__track::-webkit-scrollbar { display: none; }
.value-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--paper);
}
.value-card__mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-700);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  margin-bottom: 22px;
}
.value-card h3 { font-size: 26px; color: var(--ink); margin-bottom: 12px; }
.value-card p { font-size: 15px; color: var(--muted); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.carousel-btn--prev { left: -12px; }
.carousel-btn--next { right: -12px; }

/* --- roles table ---------------------------------------------------------- */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px 48px;
}
.roles { width: 100%; border-collapse: collapse; margin-top: 32px; }
.roles th {
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-500);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.roles td { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.roles td:first-child { font-weight: 700; }
.roles td:last-child { text-align: right; }
.roles .go {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-deep); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
}

/* --- menu page ------------------------------------------------------------ */
.menu-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.menu-list { border-top: 1px solid var(--line); }
.menu-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item .ph { aspect-ratio: 1/1; border-radius: 12px; }
.menu-item h3 { font-size: 19px; color: var(--ink); }
.menu-item p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.menu-item__price { font-weight: 800; font-size: 18px; color: var(--navy-700); white-space: nowrap; }
.menu-cat { margin-top: 64px; }
.menu-cat:first-child { margin-top: 0; }
.menu-cat h2 { font-size: 34px; margin-bottom: 8px; }
.menu-cat__note { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

/* --- data table (investor / gcg) ------------------------------------------ */
.dtable { width: 100%; border-collapse: collapse; }
.dtable th {
  text-align: left; font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--steel); padding: 0 16px 14px 0; border-bottom: 1px solid var(--line);
}
.dtable td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.dtable td:first-child { font-weight: 700; color: var(--ink); }
.dtable .num { text-align: right; font-variant-numeric: tabular-nums; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.stat__value { font-size: 44px; font-weight: 800; color: var(--navy-700); letter-spacing: -0.03em; line-height: 1; }
.stat__label { margin-top: 12px; font-size: 15px; color: var(--muted); }

.doc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.doc-row strong { font-size: 17px; }
.doc-row small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; margin-top: 4px; }

/* --- forms ---------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* --- misc ----------------------------------------------------------------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.text-list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.text-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--navy-700); }
.text-list strong { color: var(--ink); }

.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy-500);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 60;
}
.wa-fab svg { width: 26px; height: 26px; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.is-open {
    display: block;
    position: fixed;
    inset: var(--h-header) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
  }
  .nav.is-open .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav.is-open .nav__list a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header__aside { display: flex; margin-left: auto; }
  .burger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .values__track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .hero .shell,
  .story__grid,
  .app__grid,
  .head,
  .page-hero__grid,
  .footer__grid,
  .grid-3,
  .grid-2,
  .modal__box { grid-template-columns: 1fr; }
  .head__note { justify-self: start; }
  .hero__nav { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .values__track { grid-auto-columns: 84%; }
  .carousel-btn { display: none; }
  .promo-panel { padding: 48px 20px 56px; }
  .panel { padding: 32px 22px; }
  .store-card { grid-template-columns: 1fr; }
  .store-card .ph { aspect-ratio: 16/9; }
  .stat-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .menu-item { grid-template-columns: 64px 1fr auto; }
  .phones { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .phone:first-child { display: none; }
}

/* --- penyesuaian versi PHP -------------------------------------------------- */

/* .chip kini berupa tautan, bukan tombol */
a.chip { display: inline-flex; align-items: center; }

/* pesan saat daftar kosong */
.cart-empty { text-align: center; color: var(--muted); padding: 72px 0; font-size: 15px; }

/* ==========================================================================
   Aturan kolom: 4 per baris untuk desktop dan tablet, 2 per baris untuk mobile
   Blok ini sengaja diletakkan paling akhir agar menimpa aturan sebelumnya.
   ========================================================================== */

.prod-grid,
.prod-grid--3,
.grid-4,
.grid-3,
.social-grid,
.stat-grid,
.assure { grid-template-columns: repeat(4, 1fr); }

/* Kutipan testimoni dikecualikan: teks panjang jadi tidak terbaca
   kalau dipaksa empat kolom. */
.testi__grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 767px) {
  .prod-grid,
  .prod-grid--3,
  .grid-4,
  .grid-3,
  .social-grid,
  .stat-grid,
  .assure,
  .logo-strip { grid-template-columns: repeat(2, 1fr); }

  .testi__grid { grid-template-columns: 1fr; }

  /* tata letak dua kolom (form berdampingan tabel) tetap menumpuk */
  .grid-2 { grid-template-columns: 1fr; }
}

/* --- tombol tutup pada banner pengumuman ------------------------------------ */
.announce .shell { position: relative; padding-right: 56px; }
.announce__close {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  opacity: .7;
}
.announce__close:hover { opacity: 1; background: rgba(255, 255, 255, .14); }

@media (max-width: 767px) {
  .announce .shell { padding-right: 48px; }
  .announce__close { right: 12px; }
}

/* ==========================================================================
   Variabel yang dikendalikan panel admin
   Nilai di bawah ini hanya cadangan; :root dari <style> yang dicetak PHP
   akan menimpanya bila pengaturan sudah diisi.
   ========================================================================== */
:root {
  --font-judul: 'Plus Jakarta Sans';
  --font-teks: 'Plus Jakarta Sans';
  --header-bg: #ffffff;
  --header-teks: #0e2a4f;
  --footer-bg: #f2f1ec;
  --footer-teks: #1c1c1a;
  --logo-tinggi: 32px;
}

body { font-family: var(--font-teks), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, h4,
.brand__name,
.btn,
.nav__list a { font-family: var(--font-judul), -apple-system, BlinkMacSystemFont, sans-serif; }

.header { background: var(--header-bg); }
.header .brand__name,
.header .nav__list a,
.header .cart-btn { color: var(--header-teks); }
.header .cart-btn { border-color: var(--header-teks); }
.header .burger span,
.header .burger span::before,
.header .burger span::after { background: var(--header-teks); }
.header--bergaris { border-bottom-color: var(--line); }
.header--lepas { position: static; }

.footer { background: var(--footer-bg); }
.footer,
.footer .footer__line,
.footer h3 { color: var(--footer-teks); }

/* Logo unggahan.
   var() diberi nilai cadangan langsung, supaya tingginya tetap terkendali
   meski --logo-tinggi belum sempat tercetak. max-height dan max-width adalah
   pagar terakhir: berapa pun ukuran asli berkas, logo tidak bisa merusak
   tata letak header. */
.brand__logo {
  height: var(--logo-tinggi, 32px);
  width: auto;
  max-height: 56px;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.brand { min-width: 0; overflow: hidden; }
.footer .brand__logo { max-height: 48px; }

/* gambar dari pustaka media */
.gbr { width: 100%; height: auto; border-radius: var(--r-lg); object-fit: cover; }
.gbr.card__media { border-radius: 0; aspect-ratio: 4 / 3; }
.menu-item .gbr { aspect-ratio: 1 / 1; border-radius: 12px; }
.store-card .gbr { aspect-ratio: 1 / 1; border-radius: 12px; }
.gbr.ph--square { aspect-ratio: 1 / 1; }
.gbr.ph--wide { aspect-ratio: 16 / 9; }

/* Gambar sungguhan di dalam kolase hero, sejajar dengan blok penggantinya. */
.collage .gbr {
  aspect-ratio: auto;
  height: 100%;
  min-height: 150px;
  border-radius: 12px;
}
.collage > *:last-child { grid-row: span 2; }

/* ============================================================================
   Modul blog: daftar berita, berita sorotan, dan halaman satu berita.
   ========================================================================== */

/* Kolom baca. Lebar 760px kira-kira 70 karakter per baris — batas nyaman
   sebelum mata kesulitan menemukan awal baris berikutnya. */
.shell--sempit { max-width: 760px; }

/* --- kartu berita yang bisa diklik ---------------------------------------- */
.card--tautan { color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.card--tautan:hover { border-color: var(--steel); transform: translateY(-2px); }
.card--tautan:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 3px; }

.card__label {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 12px;
}
.card__meta { display: flex; align-items: center; gap: 12px; }
.card__go {
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
  color: var(--navy-700);
}
.card--tautan:hover .card__go { text-decoration: underline; }

.chip__n { font-variant-numeric: tabular-nums; opacity: .65; }

/* --- berita sorotan ------------------------------------------------------- */
.sorot {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s;
}
.sorot:hover { border-color: var(--steel); }
.sorot:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 3px; }
.sorot .ph,
.sorot__media { border-radius: 0; height: 100%; aspect-ratio: 4 / 3; }
.sorot__isi { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.sorot__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 18px;
}
.sorot__label {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-500);
}
.sorot__judul { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; }
.sorot__ringkas { margin-top: 18px; color: var(--muted); font-size: 17px; }
.sorot__cta { margin-top: 26px; font-weight: 700; color: var(--navy-700); }
.sorot:hover .sorot__cta { text-decoration: underline; }

/* --- halaman satu berita -------------------------------------------------- */
.artikel__kepala { padding: 64px 0 40px; }
.artikel__kepala h1 { font-size: clamp(36px, 4.6vw, 62px); }

.remah { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.remah a { color: var(--navy-500); font-weight: 700; }
.remah a:hover { text-decoration: underline; }

.artikel__ringkas { margin-top: 24px; font-size: 20px; color: var(--muted); }
.artikel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.artikel__meta span + span { position: relative; }

.artikel__utama { margin-bottom: 8px; }

.artikel__isi { padding: 48px 0 8px; font-size: 18px; line-height: 1.75; color: var(--ink); }
.artikel__isi > * + * { margin-top: 26px; }
.artikel__isi p { margin: 0; }

.artikel__subjudul { font-size: clamp(26px, 2.6vw, 34px); margin-top: 44px; }

.artikel__daftar { padding-left: 24px; }
.artikel__daftar li { margin-bottom: 12px; }
.artikel__daftar li::marker { color: var(--steel); font-weight: 700; }
ol.artikel__daftar { list-style: decimal; }
ul.artikel__daftar { list-style: disc; }

.artikel__kutip { margin: 44px 0; padding-left: 28px; border-left: 3px solid var(--navy-700); }
.artikel__kutip blockquote { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--navy-700); font-weight: 500; }
.artikel__kutip figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }

.artikel__gambar { margin: 44px 0; }
.artikel__gambar figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

.artikel__sorot {
  background: var(--cream);
  border-left: 3px solid var(--steel);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 24px 28px;
  font-size: 16px;
  color: var(--navy-700);
}

.artikel__pemisah { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.artikel__tombol { margin-top: 32px; }

.artikel__tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.artikel__tag > span { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.artikel__tag em {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--navy-700);
}

/* --- berita sebelum / berikutnya ------------------------------------------ */
.tetangga {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px 0 8px;
}
.tetangga__sisi {
  display: block;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s;
}
.tetangga__sisi:hover { border-color: var(--steel); }
.tetangga__sisi span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.tetangga__sisi strong { display: block; font-size: 17px; line-height: 1.3; color: var(--navy-700); }
.tetangga__sisi--kanan { text-align: right; }

@media (max-width: 860px) {
  .sorot { grid-template-columns: 1fr; }
  .sorot .ph,
  .sorot__media { aspect-ratio: 16 / 9; }
  .sorot__isi { padding: 32px 26px; }
  .tetangga { grid-template-columns: 1fr; }
  .tetangga__sisi--kanan { text-align: left; }
  .artikel__isi { font-size: 17px; padding-top: 36px; }
}

/* --- rupa tiap blok tulisan ------------------------------------------------
   Rata teks dan jarak atas-bawah datang sebagai style sebaris dari kolom
   berita_blok, jadi yang perlu ada di sini hanya ukuran huruf dan lebar
   gambar — dua hal yang nilainya bergantung pada lebar layar. */

.artikel__p { margin: 0; }

.artikel__isi .is-kecil { font-size: .86em; }
.artikel__isi .is-besar { font-size: 1.22em; }
.artikel__subjudul.is-kecil { font-size: clamp(21px, 2vw, 26px); }
.artikel__subjudul.is-besar { font-size: clamp(30px, 3.4vw, 44px); }

.artikel__isi strong { font-weight: 800; color: var(--navy-700); }
.artikel__isi a {
  color: var(--navy-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.artikel__isi a:hover { color: var(--navy-700); }

.artikel__gambar.is-lebar { margin-left: -80px; margin-right: -80px; }
.artikel__gambar.is-penuh {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.artikel__gambar.is-penuh figcaption {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

@media (max-width: 1000px) {
  .artikel__gambar.is-lebar { margin-left: 0; margin-right: 0; }
}
