/* ==========================================================================
   Cikgu Kabinet Empire — landing v6
   Hero entry screen + three sub-views (pakej / promo / showroom), toggled by
   JS. Ported verbatim from the client's v6 prototype; production additions are
   grouped at the bottom under "v6 PRODUCTION ADDITIONS".
   ========================================================================== */
:root{
  --navy:#0E1B2C; --navy2:#152538; --cream:#F5EFE4; --gold:#C89B3C; --gold-lt:#E8C877;
  --seri:#1E3A5F; --teguh:#8B6914; --citra:#4A2C5A; --waja:#B8860B;
  --wa:#25D366;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Manrope,sans-serif;background:var(--navy);color:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3,.cond{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;letter-spacing:.01em}
button{font-family:inherit;cursor:pointer;border:none}
.hide{display:none!important}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}

/* ---------- HERO ---------- */
#v-home{min-height:100dvh;display:flex;flex-direction:column;
  background:linear-gradient(rgba(8,14,24,.82),rgba(8,14,24,.88)),
  url('../assets/hero-cnc.jpg') center/cover;}
/* the CNC photo is portrait (810×1080); desktop uses a landscape crop framed on
   the machine head so the gantry is never cropped out of a wide viewport */
@media(min-width:760px){
  #v-home{background-image:linear-gradient(rgba(8,14,24,.82),rgba(8,14,24,.88)),
    url('../assets/hero-cnc-wide.jpg');background-position:center;background-size:cover}
}
.hero-top{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 14px;border-bottom:1px solid rgba(200,155,60,.35)}
.brand{display:flex;flex-direction:column;align-items:center;flex:1}
.brand .mark{font-family:'Barlow Condensed';font-size:34px;font-weight:700;color:var(--gold);letter-spacing:.08em;line-height:1}
.brand .nm{font-family:'Barlow Condensed';font-size:14px;letter-spacing:.18em;color:#fff;margin-top:2px}
.brand .sub{font-size:9px;letter-spacing:.22em;color:#9fb0c4;margin-top:3px}
.warr{width:74px;height:74px;border-radius:50%;border:2px solid var(--gold);display:grid;place-content:center;text-align:center;flex-shrink:0;background:rgba(0,0,0,.45)}
.warr b{display:block;font-family:'Barlow Condensed';font-size:26px;color:var(--gold);line-height:1}
.warr span{font-size:7px;letter-spacing:.1em;color:#fff;display:block;line-height:1.3}
.hero-body{flex:1;display:flex;flex-direction:column;justify-content:center;padding:26px 16px 20px;max-width:1180px;margin:0 auto;width:100%}
.kicker{font-family:'Barlow Condensed';font-size:15px;letter-spacing:.22em;color:var(--gold);margin-bottom:6px}
.kicker::after{content:'';display:block;width:52px;height:3px;background:var(--gold);margin-top:8px}
h1.hero{font-size:clamp(38px,10.5vw,84px);line-height:.94;margin:14px 0 10px}
h1.hero .g{color:var(--gold)}
.trust{font-size:clamp(13px,3.6vw,19px);color:#dfe7ef;margin-bottom:20px}
.trust b{color:var(--gold);margin:0 7px}
.cta2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.ccard{border-radius:16px;padding:22px 18px;text-align:center}
.ccard.g{background:linear-gradient(160deg,#F0C463,#D9A73F)}
.ccard.c{background:var(--cream)}
.cicon{width:56px;height:56px;border-radius:50%;background:var(--navy);display:grid;place-content:center;margin:0 auto 12px}
.cicon svg{width:28px;height:28px;stroke:var(--gold-lt);fill:none;stroke-width:1.8}
.ccard h3{font-size:26px;color:var(--navy);line-height:1.05}
.ccard p{font-size:13.5px;color:#3d4a5a;margin:7px 0 14px;line-height:1.4}
.cbtn{width:100%;background:var(--navy);color:var(--gold-lt);font-family:'Barlow Condensed';font-size:17px;letter-spacing:.09em;padding:13px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:9px}
.homebar{background:linear-gradient(160deg,#F0C463,#D9A73F);border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.homebar .hi{width:48px;height:48px;border-radius:50%;background:var(--navy);display:grid;place-content:center;flex-shrink:0}
.homebar .hi svg{width:24px;height:24px;stroke:var(--gold-lt);fill:none;stroke-width:1.8}
.homebar .ht{flex:1;min-width:150px;border-left:2px solid rgba(14,27,44,.3);padding-left:14px}
.homebar h3{font-size:19px;color:var(--navy)}
.homebar p{font-size:12.5px;color:#3d4a5a}
.homebar .hbtns{display:flex;gap:9px;flex:0 0 auto}
.homebar .hbtn{background:var(--navy);color:var(--gold-lt);font-family:'Barlow Condensed';font-size:14px;letter-spacing:.08em;padding:11px 16px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}
/* the two buttons stay shoulder to shoulder at every width — on a phone the
   pair drops onto its own line and splits it evenly, never stacking */
@media(max-width:619px){
  .homebar{padding:13px 13px 14px;gap:11px}
  .homebar .hbtns{flex:1 1 100%}
  .homebar .hbtn{flex:1 1 0;font-size:13px;letter-spacing:.04em;padding:11px 6px;gap:6px}
}
.feat3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:18px;border-top:1px solid rgba(200,155,60,.28)}
.feat3 div{text-align:center;padding:0 4px}
.fi{width:52px;height:52px;border-radius:50%;border:1.5px solid var(--gold);display:grid;place-content:center;margin:0 auto 8px}
.fi svg{width:24px;height:24px;stroke:var(--gold);fill:none;stroke-width:1.6}
.feat3 h4{font-family:'Barlow Condensed';font-size:14px;color:#fff;line-height:1.1}
.feat3 p{font-size:10.5px;color:#8fa2b8;margin-top:4px;line-height:1.3}
.hero-foot{text-align:center;font-family:'Barlow Condensed';font-size:12px;letter-spacing:.3em;color:var(--gold);padding:14px}

/* ---------- SUB PAGES ---------- */
.subnav{position:sticky;top:0;z-index:40;background:var(--navy);border-bottom:1px solid rgba(200,155,60,.3);display:flex;align-items:center;gap:12px;padding:12px 16px}
.subnav .back{background:none;color:var(--gold);font-family:'Barlow Condensed';font-size:15px;letter-spacing:.08em;display:flex;align-items:center;gap:7px}
.subnav .lg{margin-left:auto;font-family:'Barlow Condensed';font-size:20px;color:var(--gold);letter-spacing:.08em}
.page{background:var(--cream);color:var(--navy);min-height:100dvh}
.phead{background:var(--navy);padding:26px 16px 30px}
.phead .num{width:38px;height:38px;border-radius:50%;background:var(--gold);color:var(--navy);font-family:'Barlow Condensed';font-size:21px;display:grid;place-content:center;margin-bottom:10px}
.phead h2{font-size:clamp(25px,6.5vw,38px);color:#fff}
.phead p{font-size:13.5px;color:#9fb0c4;margin-top:5px;max-width:560px}
.pbody{padding:24px 16px 40px}

/* ---------- PACKAGE CARDS ---------- */
.pkgs{display:grid;gap:18px}
@media(min-width:900px){.pkgs{grid-template-columns:1fr 1fr}}
.pkg{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 16px rgba(0,0,0,.1)}
.pkg-h{padding:16px 18px;color:#fff;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pkg-h .lbl{font-family:'Barlow Condensed';font-size:11.5px;letter-spacing:.2em;opacity:.85}
.pkg-h .nm{font-family:'Barlow Condensed';font-size:31px;line-height:1}
.pkg-h .tag{margin-left:auto;font-size:11.5px;line-height:1.35;opacity:.92;border-left:1px solid rgba(255,255,255,.4);padding-left:12px;max-width:150px}
.pkg-b{padding:16px 18px}
.pkg-b .mat{font-family:'Barlow Condensed';font-size:19px;line-height:1.1}
.pkg-b .tl{font-size:12.5px;color:#6b7684;margin:3px 0 9px}
.pkg-b .ds{font-size:13px;color:#3d4a5a;line-height:1.5}
.wbadge{display:inline-flex;align-items:center;gap:8px;background:#EDF2F9;border-radius:8px;padding:7px 12px;margin-top:12px}
.wbadge svg{width:19px;height:19px;stroke:var(--seri);fill:none;stroke-width:1.8}
.wbadge b{font-family:'Barlow Condensed';font-size:14px;display:block;line-height:1.1}
.wbadge span{font-size:9.5px;color:#6b7684}
.pkg-price{border-top:1px dashed #d8d2c6;margin-top:14px;padding-top:13px}
.pkg-price .k{font-family:'Barlow Condensed';font-size:11.5px;letter-spacing:.19em;color:#6b7684}
.pkg-price .v{font-family:'Barlow Condensed';font-size:37px;line-height:1.05}
.upg{border:1.5px solid var(--gold);background:#FDF8EC;border-radius:10px;padding:11px 13px;margin-top:12px}
.upg .ub{display:inline-block;background:var(--gold);color:#fff;font-family:'Barlow Condensed';font-size:12px;letter-spacing:.13em;padding:3px 10px;border-radius:5px}
.upg .ut{font-family:'Barlow Condensed';font-size:11px;letter-spacing:.13em;color:#6b7684;margin-left:8px}
.upg .un{font-size:13.5px;font-weight:600;margin-top:8px}
.upg .up{font-family:'Barlow Condensed';font-size:19px;color:var(--gold);margin-top:2px}
.upg .utot{border-top:1px solid #e6dcc4;margin-top:8px;padding-top:7px;font-size:10.5px;letter-spacing:.13em;color:#6b7684}
.upg .utot b{display:block;font-family:'Barlow Condensed';font-size:21px;color:var(--navy);letter-spacing:0}
.pkg-btns{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.bo{border:1.5px solid var(--gold);background:#fff;color:var(--navy);font-family:'Barlow Condensed';font-size:15px;letter-spacing:.07em;padding:12px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:7px}
.bg{background:linear-gradient(160deg,#EFC15C,#D9A73F);color:var(--navy);font-family:'Barlow Condensed';font-size:15px;letter-spacing:.07em;padding:12px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:7px}
.bo svg,.bg svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}

/* ---------- PROMO ---------- */
.promos{display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:640px){.promos{grid-template-columns:1fr 1fr}}
@media(min-width:980px){.promos{grid-template-columns:repeat(3,1fr)}}
.promo{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px rgba(0,0,0,.09);cursor:pointer;transition:transform .18s}
.promo:hover{transform:translateY(-3px)}
.promo .pi{aspect-ratio:4/3;background:linear-gradient(135deg,#E8DCC8,#CFC0A6);display:grid;place-content:center;position:relative}
.promo .pi svg{width:66px;height:66px;stroke:#8a7a5e;fill:none;stroke-width:1.2}
.promo .flag{position:absolute;top:10px;left:10px;background:var(--gold);color:#fff;font-family:'Barlow Condensed';font-size:12px;letter-spacing:.13em;padding:4px 11px;border-radius:5px}
.promo .pc{padding:14px}
.promo .pn{font-family:'Barlow Condensed';font-size:20px;line-height:1.1}
.promo .pd{font-size:12px;color:#6b7684;margin:4px 0 10px;line-height:1.4}
.promo .pp{font-family:'Barlow Condensed';font-size:29px;color:var(--navy)}
.promo .pp small{font-size:13px;color:#6b7684;font-family:Manrope;display:block;margin-top:2px}

/* ---------- SHOWROOM ---------- */
.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:16px;-webkit-overflow-scrolling:touch}
.tabs button{white-space:nowrap;background:#fff;border:1.5px solid #ddd5c6;color:#5a6673;font-family:'Barlow Condensed';font-size:15px;letter-spacing:.07em;padding:9px 16px;border-radius:20px}
.tabs button.on{background:var(--navy);border-color:var(--navy);color:var(--gold-lt)}
.gal{display:grid;grid-template-columns:1fr 1fr;gap:11px}
@media(min-width:820px){.gal{grid-template-columns:repeat(3,1fr)}}
.gal div{aspect-ratio:4/3;background:linear-gradient(135deg,#DCD3C2,#C2B69F);border-radius:11px;display:grid;place-content:center;text-align:center;color:#7a6d55;font-size:11.5px;padding:10px}
.bkbar{background:var(--navy);border-radius:14px;padding:22px;text-align:center;margin-top:26px}
.bkbar h3{font-size:22px;color:#fff}
.bkbar p{font-size:13px;color:#9fb0c4;margin:7px 0 15px}
.bkbar a{display:inline-flex;align-items:center;gap:9px;background:linear-gradient(160deg,#EFC15C,#D9A73F);color:var(--navy);font-family:'Barlow Condensed';font-size:17px;letter-spacing:.08em;padding:13px 26px;border-radius:9px;text-decoration:none}

/* ---------- PRINSIP ---------- */
.prinsip{background:var(--navy);padding:34px 16px}
.prinsip .h{text-align:center;margin-bottom:26px}
.prinsip h2{font-size:clamp(26px,7vw,40px);color:var(--gold)}
.prinsip .h p{font-size:13.5px;color:#c9d4e0;margin-top:5px}
.prinsip .h span{font-size:10px;letter-spacing:.28em;color:var(--gold);display:block;margin-top:9px}
.pgrid{display:grid;gap:16px;max-width:1000px;margin:0 auto}
@media(min-width:760px){.pgrid{grid-template-columns:repeat(5,1fr)}}
.pv{display:flex;align-items:center;gap:14px;text-align:left}
@media(min-width:760px){.pv{flex-direction:column;text-align:center;gap:9px}}
.pv .ic{width:54px;height:54px;border-radius:50%;border:1.5px solid var(--gold);display:grid;place-content:center;flex-shrink:0;background:rgba(0,0,0,.3)}
.pv .ic svg{width:26px;height:26px;stroke:var(--gold);fill:none;stroke-width:1.7}
.pv h4{font-family:'Barlow Condensed';font-size:17px;color:var(--gold);letter-spacing:.06em}
.pv p{font-size:11.5px;color:#a8b6c6;line-height:1.4;margin-top:2px}
.pquote{text-align:center;font-style:italic;color:var(--gold-lt);font-size:14px;margin-top:26px;padding-top:18px;border-top:1px solid rgba(200,155,60,.3)}

/* ---------- MODALS ---------- */
.ov{position:fixed;inset:0;background:rgba(6,11,19,.82);z-index:100;display:flex;align-items:flex-end;justify-content:center;padding:0}
@media(min-width:700px){.ov{align-items:center;padding:24px}}
.md{background:var(--cream);width:100%;max-width:620px;max-height:94dvh;overflow-y:auto;border-radius:16px 16px 0 0;color:var(--navy)}
@media(min-width:700px){.md{border-radius:16px}}
.md-h{background:var(--navy);padding:16px 18px;display:flex;align-items:flex-start;gap:12px;position:sticky;top:0;z-index:2}
.md-h h3{font-size:21px;color:#fff;flex:1}
.md-h p{font-size:11.5px;color:#9fb0c4;margin-top:3px;line-height:1.4}
.md-h .x{background:none;color:#9fb0c4;font-size:26px;line-height:1;padding:0 3px}
.md-b{padding:16px 18px 22px}

/* calc rows */
.crow{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #e4ddd0}
.crow .lb{flex:1;min-width:0}
.crow .lb b{font-size:13.5px;display:block;line-height:1.25}
.crow .lb i{font-size:10.5px;color:#8a8271;font-style:normal;display:block;line-height:1.3;margin-top:1px}
.crow .lb u{font-size:9.5px;letter-spacing:.13em;color:#6b7684;text-decoration:none;display:block;margin-top:2px}
/* emphasised spec line (e.g. "Saiz Queen") and the millimetre conversion,
   both sitting under the row label in small grey text */
.crow .lb .tagline{display:block;font-size:11.5px;font-weight:600;color:#5a6673;
  line-height:1.3;margin-top:2px}
.crow .lb .mm{display:block;font-size:10px;color:#9a9284;line-height:1.35;margin-top:1px}
.crow.sub{padding-left:16px;border-bottom:1px dotted #e4ddd0}
/* multi-line rooms: a touch more vertical room, and the label column keeps
   priority over the counter so the mm line does not force an awkward wrap */
.crow:has(.mm){padding:13px 0}
.crow:has(.mm) .lb{padding-right:4px}
.crow.sub .lb b{font-size:12.5px;font-weight:500;color:#4a5563}
.crow.sub .lb b::before{content:'+ ';color:var(--gold)}
.grp{font-size:13.5px;font-weight:700;padding:13px 0 3px;border-bottom:none}
.grp i{font-size:10.5px;color:#8a8271;font-style:normal;font-weight:400;display:block;margin-top:1px}
.grp u{font-size:9.5px;letter-spacing:.13em;color:#6b7684;text-decoration:none;display:block;margin-top:2px}
.ctr{display:flex;align-items:center;gap:0;flex-shrink:0;border:1.5px solid #d8d2c6;border-radius:8px;overflow:hidden;background:#fff}
.ctr button{width:36px;height:36px;background:#fff;color:var(--navy);font-size:19px;line-height:1}
.ctr button:active{background:#f0ebe0}
.ctr input{width:44px;height:36px;border:none;border-left:1px solid #e4ddd0;border-right:1px solid #e4ddd0;text-align:center;font-family:'Barlow Condensed';font-size:18px;color:var(--navy);background:#fff;-moz-appearance:textfield}
.ctr input::-webkit-outer-spin-button,.ctr input::-webkit-inner-spin-button{-webkit-appearance:none}
.totals{background:var(--navy);border-radius:12px;padding:13px;margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tt{background:rgba(255,255,255,.05);border-radius:9px;padding:11px 8px;text-align:center}
.tt .n{font-family:'Barlow Condensed';font-size:16px;letter-spacing:.1em}
.tt .m{font-size:9px;color:#8fa2b8;margin:1px 0 5px}
.tt .p{font-family:'Barlow Condensed';font-size:22px;color:#fff}
.md-f{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:18px}
.bw{background:#fff;border:1.5px solid #d8d2c6;color:var(--navy);font-family:'Barlow Condensed';font-size:16px;letter-spacing:.07em;padding:13px;border-radius:9px}
.hint{font-size:11.5px;color:#a03a3a;text-align:center;margin-top:9px}
.disclaimer{font-size:11.5px;line-height:1.45;color:#6b7684;text-align:center;margin-top:9px}

/* form */
.fld{margin-bottom:13px}
.fld label{font-size:12.5px;font-weight:600;display:block;margin-bottom:5px}
.fld label i{color:#c0392b;font-style:normal}
.fld input,.fld select,.fld textarea{width:100%;border:1.5px solid #d8d2c6;border-radius:9px;padding:11px 13px;font-family:Manrope;font-size:14px;background:#fff;color:var(--navy)}
.fld textarea{min-height:74px;resize:vertical}
.recap{background:#fff;border:1.5px solid var(--gold);border-radius:11px;padding:13px;margin-bottom:15px}
.recap .rt{font-family:'Barlow Condensed';font-size:12px;letter-spacing:.15em;color:#6b7684}
.recap .rv{font-family:'Barlow Condensed';font-size:24px;margin-top:2px}
.recap .ri{font-size:11.5px;color:#6b7684;margin-top:5px;line-height:1.5}
.dep{background:var(--navy);border-radius:11px;padding:15px;margin-bottom:15px;color:#fff}
.dep .dk{font-size:10.5px;letter-spacing:.16em;color:var(--gold)}
.dep .dv{font-family:'Barlow Condensed';font-size:33px;color:var(--gold);line-height:1.1}
.dep ul{list-style:none;margin-top:8px}
.dep li{font-size:12px;color:#c9d4e0;padding:2px 0}
.dep li::before{content:'✓ ';color:var(--gold)}
.dep .dnote{font-size:11px;color:#9fb0c4;margin-top:9px;line-height:1.5}
/* Free-measurement variant. "PENGUKURAN PERCUMA" is far longer than "RM 100",
   so the headline steps down a size and the lead line sits above the ticks. */
.dep--free .dv{font-size:26px;letter-spacing:.01em}
.dep--free .dnote--lead{font-size:12.5px;color:#dbe4ee;margin-top:6px}
.dep--free ul{margin-top:10px}
/* validation message under the lead-form fields */
.lderr{background:#fdecec;border:1px solid #f5c2c2;color:#a02020;font-size:12.5px;line-height:1.5;padding:10px 12px;border-radius:8px;margin:2px 0 4px}
@media (max-width:380px){ .dep--free .dv{font-size:23px} }

/* both the float and the in-modal CTA are <button> now — they open the lead
   form rather than linking straight out to wa.me */
.wafloat{position:fixed;right:16px;bottom:16px;width:56px;height:56px;border-radius:50%;background:var(--wa);display:grid;place-content:center;z-index:60;box-shadow:0 4px 16px rgba(0,0,0,.3);border:0;padding:0;cursor:pointer}
.wafloat svg{width:30px;height:30px;fill:#fff}
.wabtn{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--wa);color:#fff;font-family:'Barlow Condensed';font-size:16px;letter-spacing:.07em;padding:13px;border-radius:9px;width:100%;text-decoration:none;margin-top:12px;border:0;cursor:pointer}
.wabtn svg{width:20px;height:20px;fill:#fff}

/* ==========================================================================
   v6 PRODUCTION ADDITIONS
   Real assets replacing the prototype's placeholder blocks.
   ========================================================================== */

/* The two hero CTA cards sit side-by-side at every width, as in the client's
   hero mockup. The prototype stacked them below 620px; this scales the type
   down instead so both still fit on a narrow phone. */
@media(max-width:619px){
  .ccard{padding:16px 11px;border-radius:13px}
  .cicon{width:44px;height:44px;margin-bottom:9px}
  .cicon svg{width:22px;height:22px}
  .ccard h3{font-size:20px}
  .ccard p{font-size:11.5px;margin:6px 0 11px;line-height:1.35}
  .cbtn{font-size:13px;letter-spacing:.05em;padding:11px 6px;gap:5px}
  .cta2{gap:10px}
}
@media(max-width:359px){
  .ccard h3{font-size:17.5px}
  .ccard p{font-size:11px}
  .cbtn{font-size:12px;padding:10px 4px}
}

/* brand lockup — replaces the prototype's EKE/CIKGU KABINET EMPIRE text block */
.brand-logo{display:block;width:auto;height:64px;max-width:100%}
.subnav-logo{margin-left:auto;height:30px;width:auto;display:block}
@media(min-width:620px){.brand-logo{height:76px}}

/* promo grid thumbnails — every render is pre-composited onto an identical
   1200×900 cream canvas with a 6% margin, so the box is a plain 4:3 and cover
   crops nothing. The cream surround is part of the image, not the container. */
.promo .pi--photo{display:block;background:none}
.promo .pi--photo img{width:100%;height:100%;object-fit:cover;display:block}

/* full poster inside the promo detail lightbox */
/* lightbox poster — the client's originals vary in aspect ratio and are mostly
   portrait, so they scale to fit the modal rather than filling a fixed box */
.pfull{width:100%;height:auto;max-height:70dvh;object-fit:contain;display:block;
  border-radius:12px;margin-bottom:16px;background:var(--cream)}

/* client's package detail poster at the top of the PERINCIAN lightbox */
.dposter{width:100%;height:auto;display:block;border-radius:12px;margin-bottom:16px;background:#EFE7D8}

/* showroom gallery — real project photos, click any tile for the full view */
.gal figure{margin:0;aspect-ratio:4/3;border-radius:11px;overflow:hidden;background:#DCD3C2;
  cursor:pointer;transition:transform .18s,box-shadow .18s}
.gal figure:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.16)}
.gal figure:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.gal figure img{width:100%;height:100%;object-fit:cover;display:block}

/* gallery photo lightbox */
.md--photo{max-width:940px}
.md-b--photo{padding:14px}
.gfull{width:100%;height:auto;max-height:74dvh;object-fit:contain;display:block;
  border-radius:10px;background:var(--cream)}

/* PRINSIP CKE — client banner on desktop, rebuilt HTML on mobile */
.prinsip-banner{display:none}
.prinsip-html{display:block}
@media(min-width:760px){
  .prinsip-banner{display:block;width:100%;max-width:1180px;margin:0 auto;height:auto;border-radius:12px}
  .prinsip-html{display:none}
}

/* calculator groups — gold header bar over a white card of counter rows */
.cgrp{border-radius:12px;overflow:hidden;margin-bottom:16px;box-shadow:0 2px 10px rgba(0,0,0,.07)}
.cgrp__h{display:flex;align-items:center;gap:10px;padding:11px 14px;
  background:linear-gradient(135deg,#D3A441,#A97A22)}
.cgrp__ic{flex:0 0 auto;display:grid;place-content:center}
.cgrp__ic svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;opacity:.95}
.cgrp__t{font-family:'Barlow Condensed';font-size:17px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:#fff;line-height:1.1}
.cgrp__s{margin-left:auto;text-align:right;font-family:'Barlow Condensed';font-size:11.5px;
  letter-spacing:.13em;text-transform:uppercase;color:#FCEFD2;line-height:1.15}
.cgrp__b{background:#fff;padding:0 14px}
.cgrp__b .crow:last-child{border-bottom:0}

/* ungrouped items below the groups */
.cloose{margin-top:4px}
.cloose .crow:last-child{border-bottom:0}

/* the unit now sits under the counter instead of under the item name */
.ctrwrap{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:3px}
.cunit{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#8a8271;line-height:1}

/* calculator sub-view — keeps the lightbox's readable column width now that
   the rows live on a full page */
.calcwrap{max-width:620px;margin:0 auto}
body.on-calc .wafloat{display:none}
.phead .num svg{width:20px;height:20px;stroke:var(--navy);fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}

/* footnote used for the remaining TODO markers */
.todo{font-size:11px;color:#a0977f;margin-top:12px;text-align:center}
