/* =====================================================================
   AGENTBROMO — Public Styles  ("Bromo Sunrise" theme)
   Display: Bricolage Grotesque · Body: Plus Jakarta Sans
   ===================================================================== */

:root {
  --ash:        #16110d;   /* volcanic near-black */
  --ash-2:      #211912;
  --ember:      #e2571e;   /* sunrise ember (primary) */
  --ember-deep: #b8410f;
  --gold:       #f2a93b;   /* sunrise gold */
  --paper:      #f7f1e7;   /* warm cream */
  --paper-2:    #efe6d6;
  --ink:        #2a2018;   /* text on light */
  --ink-soft:   #6b5c4d;
  --line:       #e3d6c2;
  --ok:         #2f855a;
  --bad:        #c53030;
  --maxw:       1180px;
  --radius:     16px;
  --shadow:     0 18px 50px -22px rgba(40,24,10,.45);
  --shadow-sm:  0 6px 20px -10px rgba(40,24,10,.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ember-deep);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--ember); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 14px 0 10px; }
.section-sub { color: var(--ink-soft); max-width: 620px; font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 24px -10px var(--ember); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px var(--ember); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ash); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,241,231,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--ember) 60%, var(--ember-deep));
  display: grid; place-items: center; color: #fff; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand .mark span { transform: translateY(-1px); }
.brand b { color: var(--ember-deep); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--ember); transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(242,169,59,.55), transparent 60%),
    radial-gradient(900px 600px at 15% 110%, rgba(226,87,30,.35), transparent 55%),
    linear-gradient(160deg, #2a1c12 0%, var(--ash) 55%, #0e0a07 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; padding: 92px 0 96px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #ffd9a8;
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; }
.hero-stats .num { font-family: 'Bricolage Grotesque'; font-size: 2.1rem; font-weight: 800; color: #fff; }
.hero-stats .lbl { font-size: .85rem; color: rgba(255,255,255,.6); }

/* Hero side card: availability snapshot */
.avail-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 24px; backdrop-filter: blur(6px);
}
.avail-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.avail-card .meta { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.avail-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.avail-row:first-of-type { border-top: 0; }
.avail-row .name { font-weight: 600; font-size: .95rem; }
.avail-row .sub { font-size: .78rem; color: rgba(255,255,255,.5); }
.tag { font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.tag-ok { background: rgba(47,133,90,.25); color: #7ee2a8; }
.tag-busy { background: rgba(197,48,48,.22); color: #ff9b9b; }
.tag-maint { background: rgba(242,169,59,.2); color: var(--gold); }

/* =====================================================================
   PRODUCT CATALOG
   ===================================================================== */
.tabs { display: inline-flex; gap: 6px; background: var(--paper-2); padding: 6px; border-radius: 999px; margin-top: 22px; }
.tabs button {
  border: 0; background: none; font: inherit; font-weight: 700; font-size: .92rem;
  padding: 9px 20px; border-radius: 999px; cursor: pointer; color: var(--ink-soft);
}
.tabs button.active { background: var(--ash); color: #fff; }

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ash-2), var(--ash)); }
.card-media .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.5); font-size: 2.4rem;
  background: radial-gradient(400px 200px at 70% 0%, rgba(242,169,59,.35), transparent 60%);
}
.card-media .badge { position: absolute; top: 12px; left: 12px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .ctype { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); }
.card-body h3 { font-size: 1.22rem; }
.card-body .desc { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.card-specs { display: flex; gap: 14px; font-size: .85rem; color: var(--ink-soft); padding-top: 6px; flex-wrap: wrap; }
.card-specs span { display: inline-flex; align-items: center; gap: 5px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 4px; }
.price b { font-family: 'Bricolage Grotesque'; font-size: 1.25rem; color: var(--ink); }
.price small { color: var(--ink-soft); font-size: .8rem; }

/* =====================================================================
   PARTNERS / TESTIMONIALS / FAQ
   ===================================================================== */
.bg-dark { background: var(--ash); color: #fff; }
.bg-dark .section-sub { color: rgba(255,255,255,.65); }
.bg-cream { background: var(--paper-2); }

.partner-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.partner-chip {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 16px 20px; min-width: 200px; flex: 1;
}
.partner-chip b { display: block; font-size: 1.02rem; }
.partner-chip span { font-size: .82rem; color: rgba(255,255,255,.55); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.testi .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi p { font-size: 1rem; color: var(--ink); }
.testi .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.testi .who .av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--ember)); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.testi .who b { display: block; font-size: .95rem; }
.testi .who span { font-size: .82rem; color: var(--ink-soft); }

.faq-list { margin-top: 30px; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1.08rem; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative;
}
.faq-q::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--ember); transition: transform .2s; }
.faq-item.open .faq-q::after { content: '–'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 0 22px; }

/* ---- CTA banner ---- */
.cta-band {
  background: linear-gradient(135deg, var(--ember), var(--ember-deep));
  color: #fff; border-radius: 24px; padding: 52px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 12px auto 26px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #100c08; color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h5 { color: #fff; font-family: 'Bricolage Grotesque'; font-size: 1rem; margin-bottom: 16px; }
.footer-grid a { display: block; padding: 6px 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; font-size: .85rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--gold); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; padding: 64px 0 72px; }
  .grid-cards, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; gap: 0; padding: 8px 22px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .grid-cards, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .cta-band { padding: 38px 24px; }
}

/* =====================================================================
   v2 ADDITIONS — logo, catalog image, availability marks, sub-pages,
   gallery, articles, about
   ===================================================================== */

/* Header logo */
.brand-logo { height: 38px; max-width: 170px; object-fit: contain; display: block; }

/* Catalog card photo */
.card-media img.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Partner logos */
.partner-logo { height: 30px; max-width: 120px; object-fit: contain; margin-bottom: 8px; filter: brightness(0) invert(1); opacity: .85; }

/* ---- Availability matrix (bigger marks + distinct color + status text) ---- */
.av-cell { text-align: center; padding: 12px 8px; vertical-align: middle; }
.av-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; font-weight: 800; line-height: 1; color: #fff;
  box-shadow: 0 4px 10px -3px rgba(0,0,0,.3);
}
.av-txt { display: block; margin-top: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.av-mark.av-ok    { background: #16a34a; }   /* hijau terang */
.av-txt.av-ok     { color: #15803d; }
.av-mark.av-busy  { background: #dc2626; }   /* merah terang */
.av-txt.av-busy   { color: #b91c1c; }
.av-mark.av-maint { background: #f59e0b; }   /* oranye/amber */
.av-txt.av-maint  { color: #b45309; }
.av-cell.is-ok    { background: #f0fdf4; }
.av-cell.is-busy  { background: #fef2f2; }
.av-cell.is-maint { background: #fffbeb; }

/* ---- Sub-page hero ---- */
.page-hero {
  background: linear-gradient(135deg, #1a130d, #2a1c12 70%);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(226,87,30,.35), transparent 70%); pointer-events: none;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { font-family: 'Bricolage Grotesque'; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; margin: 10px 0 0; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 620px; margin-top: 14px; }

/* ---- Empty state ---- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state p { margin: 12px 0 18px; }

/* ---- Article HTML content typography (shared: article + about) ---- */
.article-content { font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.article-content p { margin: 0 0 18px; }
.article-content h2, .article-content h3 { font-family: 'Bricolage Grotesque'; line-height: 1.2; margin: 30px 0 12px; }
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content img { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; border-radius: 10px; margin: 18px auto; }
.article-content a { color: var(--ember-deep); font-weight: 600; }
.article-content blockquote { border-left: 3px solid var(--ember); padding-left: 16px; color: var(--ink-soft); font-style: italic; margin: 18px 0; }

/* ---- About page ---- */
.about-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.about-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.about-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.about-card h4 { font-family: 'Bricolage Grotesque'; margin: 0 0 14px; font-size: 1.05rem; }
.about-stat { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.about-stat:last-child { border-bottom: 0; }
.about-stat b { font-family: 'Bricolage Grotesque'; font-size: 1.5rem; color: var(--ember-deep); }
.about-stat span { font-size: .88rem; color: var(--ink-soft); }
.about-contact { font-size: .92rem; margin-bottom: 8px; }
.about-contact a { color: var(--ember-deep); }
@media (max-width: 860px) { .about-wrap { grid-template-columns: 1fr; } .about-side { position: static; } }

/* ---- Gallery (Instagram-style 4-col square) ---- */
.gal-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gal-filter .chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: .15s;
}
.gal-filter .chip:hover { border-color: var(--ember); }
.gal-filter .chip.active { background: var(--ember); border-color: var(--ember); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gal-item { margin: 0; border-radius: 6px; overflow: hidden; position: relative; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 1/1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item figcaption {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 10px;
  background: linear-gradient(transparent 55%, rgba(0,0,0,.72)); color: #fff; font-size: .8rem; font-weight: 600;
  opacity: 0; transition: opacity .2s;
}
.gal-item:hover figcaption { opacity: 1; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* ---- Article cards ---- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: .18s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: var(--ember); }
.ac-media { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ash-2, #efe6db), var(--paper)); position: relative; }
.ac-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; opacity: .5; }
.ac-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ac-date { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ember-deep); }
.ac-body h3 { font-family: 'Bricolage Grotesque'; font-size: 1.2rem; line-height: 1.25; margin: 8px 0 10px; }
.ac-body p { font-size: .92rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.ac-more { font-size: .88rem; font-weight: 700; color: var(--ember-deep); }

/* Pagination (public) */
.pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 9px; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 600;
  color: var(--ink); text-decoration: none; transition: .15s;
}
.pager a:hover { border-color: var(--ember); color: var(--ember-deep); }
.pager .cur { background: var(--ember); border-color: var(--ember); color: #fff; }
.pager .dis { opacity: .4; }
