/* ============================================================
   JAYAKON.COM — Stylesheet utama
   Konsep: "Marine Spec Plate" — pelat spesifikasi kontainer
   Palet: kertas terang, lambung navy, kuning corner casting
   ============================================================ */

:root{
  --paper:#F6F8FA;
  --panel:#FFFFFF;
  --steel:#E4EAF0;
  --steel-2:#CFD9E4;
  --hull:#0B2E4F;
  --hull-2:#123E68;
  --signal:#FFC21A;
  --sea:#1E7A45;
  --cargo:#177A45;
  --cargo-2:#0F5C33;
  --ink:#0E1519;
  --muted:#5A6B7A;
  --wa:#25D366;

  --shell:1180px;
  --r:4px;
  --shadow:0 1px 2px rgba(11,46,79,.06), 0 8px 24px rgba(11,46,79,.07);
  --shadow-lg:0 2px 4px rgba(11,46,79,.08), 0 18px 44px rgba(11,46,79,.13);

  --f-display:"Archivo Black", "Arial Black", sans-serif;
  --f-body:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:"IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --corrugate:repeating-linear-gradient(90deg,
      rgba(11,46,79,.07) 0 5px, rgba(11,46,79,0) 5px 13px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--f-body); font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:var(--hull-2); text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--signal); outline-offset:2px}

.shell{width:100%; max-width:var(--shell); margin:0 auto; padding:0 22px}

h1,h2,h3,h4{font-family:var(--f-display); font-weight:400; line-height:1.12;
  letter-spacing:-.01em; margin:0 0 .5em; color:var(--hull)}
h1{font-size:clamp(2.1rem, 5.4vw, 3.7rem)}
h2{font-size:clamp(1.6rem, 3.6vw, 2.5rem)}
h3{font-size:clamp(1.15rem, 2.2vw, 1.45rem)}
p{margin:0 0 1.1em}

/* Label mono: bahasa "pelat spesifikasi" kontainer */
.eyebrow{
  font-family:var(--f-mono); font-size:.72rem; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--sea);
  display:inline-flex; align-items:center; gap:.55rem; margin-bottom:.9rem;
}
.eyebrow::before{content:""; width:26px; height:2px; background:var(--signal)}

/* ---------- Tombol ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font-family:var(--f-mono); font-size:.82rem; font-weight:600;
  letter-spacing:.09em; text-transform:uppercase;
  padding:.95rem 1.5rem; border-radius:var(--r); border:2px solid transparent;
  cursor:pointer; transition:transform .16s ease, box-shadow .16s ease, background .16s;
}
.btn:hover{text-decoration:none; transform:translateY(-2px)}
.btn-primary{background:var(--hull); color:#fff}
.btn-primary:hover{background:var(--hull-2); box-shadow:var(--shadow-lg)}
.btn-signal{background:var(--signal); color:var(--hull)}
.btn-signal:hover{box-shadow:0 12px 28px rgba(255,194,26,.4)}
.btn-wa{background:var(--wa); color:#06301a}
.btn-wa:hover{box-shadow:0 12px 28px rgba(37,211,102,.38)}
.btn-ghost{border-color:var(--steel-2); color:var(--hull); background:var(--panel)}
.btn-ghost:hover{border-color:var(--hull)}

/* ---------- Topbar & Header ---------- */
.topbar{background:var(--hull); color:#CBE0F2; font-family:var(--f-mono); font-size:.76rem}
.topbar .shell{display:flex; flex-wrap:wrap; gap:.4rem 1.6rem; padding-top:.5rem; padding-bottom:.5rem}
.topbar a{color:#fff}
.topbar span{display:inline-flex; align-items:center; gap:.4rem}
.topbar .push{margin-left:auto}

.site-header{position:sticky; top:0; z-index:60; background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px); border-bottom:1px solid var(--steel)}
.nav{display:flex; align-items:center; gap:1.1rem; padding:.7rem 0}
.brand{display:flex; align-items:center; gap:.7rem; margin-right:auto}
.brand:hover{text-decoration:none}
.brand-mark{width:40px; height:40px; border-radius:3px; background:var(--cargo);
  position:relative; overflow:hidden; flex:none}
.brand-mark::after{content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 3px, transparent 3px 7px)}
.brand-mark span{position:absolute; inset:auto 0 0 0; height:9px; background:var(--signal); z-index:2}
.brand-name{font-family:var(--f-display); font-size:1.32rem; color:var(--hull); line-height:1}
.brand-sub{font-family:var(--f-mono); font-size:.62rem; letter-spacing:.18em;
  color:var(--muted); text-transform:uppercase}

.menu{display:flex; align-items:center; gap:.15rem; list-style:none; margin:0; padding:0}
.menu a{font-size:.93rem; font-weight:500; color:var(--hull); padding:.5rem .7rem;
  border-radius:var(--r); display:block}
.menu a:hover{background:var(--steel); text-decoration:none}
.menu a.active{color:var(--sea); box-shadow:inset 0 -3px 0 var(--signal)}
.nav-cta{flex:none}
.burger{display:none; width:44px; height:44px; border:1px solid var(--steel-2);
  background:var(--panel); border-radius:var(--r); cursor:pointer; padding:11px}
.burger i{display:block; height:2px; background:var(--hull); margin:4px 0}

/* ---------- Hero: stensil di dinding kontainer ---------- */
.hero{position:relative; background:var(--panel); border-bottom:1px solid var(--steel); overflow:hidden}
.hero::before{content:""; position:absolute; inset:0 0 0 auto; width:38%;
  background:var(--corrugate); opacity:.9; pointer-events:none}
.hero .shell{position:relative; z-index:2; padding-top:clamp(2.6rem,6vw,4.6rem);
  padding-bottom:clamp(2.4rem,5vw,4rem)}
.hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(1.6rem,4vw,3.4rem); align-items:center}
.hero h1{margin-bottom:.6rem}
.hero h1 em{font-style:normal; color:var(--sea)}
.hero-lead{font-size:1.1rem; color:var(--muted); max-width:44ch}

/* Manifest strip — meniru marking cetak di badan kontainer */
.manifest{display:flex; flex-wrap:wrap; gap:0; margin:1.6rem 0 1.8rem;
  border:2px solid var(--hull); border-radius:var(--r); overflow:hidden; background:var(--paper)}
.manifest div{flex:1 1 130px; padding:.75rem .9rem; border-right:1px solid var(--steel-2)}
.manifest div:last-child{border-right:0}
.manifest dt{font-family:var(--f-mono); font-size:.62rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--muted); margin-bottom:.2rem}
.manifest dd{margin:0; font-family:var(--f-display); font-size:1rem; color:var(--hull)}
.hero-actions{display:flex; flex-wrap:wrap; gap:.7rem}

/* Kartu foto hero */
.hero-card{background:var(--hull); border-radius:var(--r); padding:1.4rem;
  color:#DCE9F5; box-shadow:var(--shadow-lg); position:relative}
.hero-card::before{content:"20 ft / 40 ft"; position:absolute; top:-13px; left:1.2rem;
  background:var(--signal); color:var(--hull); font-family:var(--f-mono);
  font-size:.68rem; font-weight:600; letter-spacing:.14em; padding:.28rem .7rem; border-radius:3px}
.hero-card h2{color:#fff; font-size:1.25rem; margin:.5rem 0 .8rem}
.hero-card ul{list-style:none; margin:0; padding:0; font-size:.93rem}
.hero-card li{padding:.5rem 0; border-bottom:1px dashed rgba(255,255,255,.18);
  display:flex; justify-content:space-between; gap:1rem; font-family:var(--f-mono); font-size:.82rem}
.hero-card li:last-child{border-bottom:0}
.hero-card li b{color:var(--signal); font-weight:600}

/* ---------- Section ---------- */
.section{padding:clamp(3rem,7vw,5.2rem) 0}
.section-alt{background:var(--panel); border-block:1px solid var(--steel)}
.section-head{max-width:64ch; margin-bottom:2.4rem}
.section-head p{color:var(--muted); margin-bottom:0}

/* ---------- Kartu produk = pelat spesifikasi ---------- */
.grid{display:grid; gap:1.3rem}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

.plate{background:var(--panel); border:1px solid var(--steel-2); border-radius:var(--r);
  padding:1.5rem; transition:transform .18s ease, box-shadow .18s ease, border-color .18s;
  display:flex; flex-direction:column}
.plate:hover{transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--hull)}
.plate-top{display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding-bottom:.8rem; margin-bottom:.9rem; border-bottom:2px solid var(--hull)}
.plate-code{font-family:var(--f-mono); font-size:.68rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--sea); font-weight:600}
.plate-icon{width:34px; height:34px; flex:none}
.plate h3{margin-bottom:.45rem}
.plate p{font-size:.95rem; color:var(--muted); margin-bottom:1rem}
.specs{list-style:none; margin:0 0 1.2rem; padding:0; font-family:var(--f-mono); font-size:.78rem}
.specs li{display:flex; justify-content:space-between; gap:1rem; padding:.42rem 0;
  border-bottom:1px dotted var(--steel-2)}
.specs li span:first-child{color:var(--muted)}
.specs li span:last-child{color:var(--hull); font-weight:600}
.plate .btn{margin-top:auto; width:100%}

/* ---------- Daftar alasan / keunggulan ---------- */
.reason{background:var(--panel); border-left:4px solid var(--signal); padding:1.2rem 1.3rem;
  border-radius:0 var(--r) var(--r) 0; box-shadow:var(--shadow)}
.reason h3{font-size:1.05rem; margin-bottom:.35rem}
.reason p{margin:0; font-size:.94rem; color:var(--muted)}

/* ---------- Tabel harga ---------- */
.table-wrap{overflow-x:auto; border:1px solid var(--steel-2); border-radius:var(--r); background:var(--panel)}
table{width:100%; border-collapse:collapse; font-size:.92rem; min-width:560px}
th,td{padding:.85rem 1rem; text-align:left; border-bottom:1px solid var(--steel)}
thead th{background:var(--hull); color:#fff; font-family:var(--f-mono); font-size:.72rem;
  letter-spacing:.12em; text-transform:uppercase; font-weight:600}
tbody tr:hover{background:var(--paper)}
td.price{font-family:var(--f-mono); font-weight:600; color:var(--sea); white-space:nowrap}

/* ---------- Proses (urutan nyata, jadi penomoran dibenarkan) ---------- */
.steps{counter-reset:s; display:grid; gap:1rem; grid-template-columns:repeat(4,1fr)}
.step{position:relative; padding-top:1.6rem; border-top:2px solid var(--steel-2)}
.step::before{counter-increment:s; content:counter(s,decimal-leading-zero);
  position:absolute; top:-.95rem; left:0; background:var(--paper); padding-right:.6rem;
  font-family:var(--f-mono); font-weight:700; font-size:.9rem; color:var(--signal)}
.step h3{font-size:1.02rem; margin-bottom:.3rem}
.step p{font-size:.92rem; color:var(--muted); margin:0}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--steel-2)}
.faq details{border-bottom:1px solid var(--steel-2); background:var(--panel)}
.faq summary{cursor:pointer; list-style:none; padding:1.15rem 1.2rem; font-weight:600;
  color:var(--hull); display:flex; justify-content:space-between; gap:1rem; align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; font-family:var(--f-mono); color:var(--sea); font-size:1.3rem; flex:none}
.faq details[open] summary::after{content:"–"}
.faq details[open] summary{color:var(--sea)}
.faq p{padding:0 1.2rem 1.2rem; margin:0; color:var(--muted); font-size:.96rem}

/* ---------- CTA band ---------- */
.cta-band{background:var(--hull); color:#DCE9F5; position:relative; overflow:hidden}
.cta-band::after{content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 5px, transparent 5px 13px)}
.cta-band .shell{position:relative; z-index:2; padding:clamp(2.6rem,5vw,3.8rem) 22px;
  display:flex; flex-wrap:wrap; align-items:center; gap:1.6rem; justify-content:space-between}
.cta-band h2{color:#fff; margin-bottom:.4rem}
.cta-band p{margin:0; color:#B9D2E8}

/* ---------- Blog ---------- */
.post-card{background:var(--panel); border:1px solid var(--steel-2); border-radius:var(--r);
  padding:1.5rem; display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s}
.post-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lg)}
.post-meta{font-family:var(--f-mono); font-size:.7rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--muted); margin-bottom:.7rem}
.post-card h3{font-size:1.12rem; margin-bottom:.5rem}
.post-card h3 a{color:var(--hull)}
.post-card p{font-size:.94rem; color:var(--muted); margin-bottom:1rem}
.post-card .more{margin-top:auto; font-family:var(--f-mono); font-size:.76rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--sea); font-weight:600}

.article{background:var(--panel); border:1px solid var(--steel-2); border-radius:var(--r);
  padding:clamp(1.4rem,4vw,3rem); max-width:790px; margin:0 auto}
.article h2{margin-top:2rem; font-size:1.55rem}
.article h3{margin-top:1.5rem}
.article ul,.article ol{padding-left:1.25rem; margin-bottom:1.2rem}
.article li{margin-bottom:.5rem}
.article blockquote{margin:1.5rem 0; padding:1rem 1.3rem; background:var(--paper);
  border-left:4px solid var(--signal); font-size:1rem}
.toc{background:var(--paper); border:1px dashed var(--steel-2); border-radius:var(--r); padding:1.1rem 1.3rem}
.toc strong{font-family:var(--f-mono); font-size:.72rem; letter-spacing:.15em; text-transform:uppercase}
.toc ol{margin:.6rem 0 0; padding-left:1.2rem}
.toc li{margin-bottom:.3rem; font-size:.95rem}

/* ---------- Breadcrumb ---------- */
.crumb{font-family:var(--f-mono); font-size:.72rem; letter-spacing:.08em;
  color:var(--muted); padding:1rem 0 0}
.crumb a{color:var(--muted)}
.crumb span{margin:0 .4rem; color:var(--steel-2)}

.page-head{background:var(--panel); border-bottom:1px solid var(--steel); position:relative; overflow:hidden}
.page-head::before{content:""; position:absolute; inset:0 0 0 auto; width:30%; background:var(--corrugate)}
.page-head .shell{position:relative; z-index:2; padding:clamp(1.6rem,4vw,3rem) 22px clamp(2rem,4vw,3rem)}
.page-head p{color:var(--muted); max-width:62ch; margin-bottom:0}

/* ---------- Kontak ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:1.4rem}
.info-list{list-style:none; margin:0; padding:0}
.info-list li{display:flex; gap:.9rem; padding:1rem 0; border-bottom:1px solid var(--steel)}
.info-list b{display:block; font-family:var(--f-mono); font-size:.68rem; letter-spacing:.15em;
  text-transform:uppercase; color:var(--muted); font-weight:600}
.map-frame{border:1px solid var(--steel-2); border-radius:var(--r); overflow:hidden; min-height:340px}
.map-frame iframe{width:100%; height:100%; min-height:340px; border:0; display:block}

/* ---------- Footer ---------- */
.site-footer{background:var(--hull); color:#A9C6E0; padding:clamp(2.6rem,5vw,3.6rem) 0 0; font-size:.94rem}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:2rem}
.site-footer h4{color:#fff; font-size:.78rem; font-family:var(--f-mono); letter-spacing:.16em;
  text-transform:uppercase; margin-bottom:1rem}
.site-footer a{color:#A9C6E0}
.site-footer a:hover{color:var(--signal)}
.site-footer ul{list-style:none; margin:0; padding:0}
.site-footer li{margin-bottom:.55rem}
.footer-brand .brand-name{color:#fff}
.footer-bottom{margin-top:2.4rem; border-top:1px solid rgba(255,255,255,.14);
  padding:1.1rem 0; font-family:var(--f-mono); font-size:.72rem; color:#7FA6C7;
  display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; justify-content:space-between}

/* ---------- Tombol WhatsApp mengambang ---------- */
.wa-float{position:fixed; right:18px; bottom:18px; z-index:90; display:flex;
  align-items:center; gap:.6rem; background:var(--wa); color:#06301a; font-family:var(--f-mono);
  font-size:.8rem; font-weight:600; letter-spacing:.06em; padding:.85rem 1.1rem;
  border-radius:50px; box-shadow:0 10px 30px rgba(37,211,102,.42); text-decoration:none}
.wa-float:hover{text-decoration:none; transform:translateY(-2px); transition:transform .16s}
.wa-float svg{width:22px; height:22px; flex:none}
.wa-float::before{content:""; position:absolute; inset:0; border-radius:50px;
  box-shadow:0 0 0 0 rgba(37,211,102,.6); animation:pulse 2.6s ease-out 3}
@keyframes pulse{to{box-shadow:0 0 0 20px rgba(37,211,102,0)}}

/* ---------- Reveal saat scroll ---------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease}
.reveal.in{opacity:1; transform:none}

/* ---------- Responsif ---------- */
@media (max-width:960px){
  .hero-grid,.contact-grid{grid-template-columns:1fr}
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .burger{display:block}
  .menu{position:absolute; left:0; right:0; top:100%; background:var(--panel);
    border-bottom:1px solid var(--steel); flex-direction:column; align-items:stretch;
    padding:.6rem 22px 1rem; gap:0; display:none; box-shadow:var(--shadow)}
  .menu.open{display:flex}
  .menu a{padding:.75rem .2rem; border-bottom:1px solid var(--steel)}
  .site-header{position:relative}
  .nav-cta{display:none}
}
@media (max-width:620px){
  body{font-size:16px}
  .grid-3,.grid-4,.grid-2,.steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .topbar .shell{font-size:.7rem}
  .wa-float span{display:none}
  .wa-float{padding:1rem; border-radius:50%}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none !important; transition:none !important; scroll-behavior:auto}
  .reveal{opacity:1; transform:none}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- Gambar kontainer ---------- */
.plate-media,.figure{width:100%; display:block; border-radius:3px; background:var(--cargo-2);
  margin-bottom:1.1rem; aspect-ratio:8/5; object-fit:cover}
.figure{margin:0 0 1.2rem}
figure{margin:0}
figcaption{font-family:var(--f-mono); font-size:.72rem; letter-spacing:.06em;
  color:var(--muted); margin-top:.5rem}
.hero-media{width:100%; display:block; border-radius:3px; margin-bottom:1.1rem;
  background:var(--cargo-2); aspect-ratio:8/5; object-fit:cover}
.article .figure{margin:0 0 1.6rem}

/* ---------- Chip pencarian populer ---------- */
.tags{display:flex; flex-wrap:wrap; gap:.5rem}
.tags a{font-family:var(--f-mono); font-size:.76rem; letter-spacing:.03em;
  background:var(--panel); border:1px solid var(--steel-2); color:var(--hull);
  padding:.5rem .85rem; border-radius:50px; transition:border-color .15s, color .15s}
.tags a:hover{text-decoration:none; border-color:var(--cargo); color:var(--cargo)}
.section-alt .tags a{background:var(--paper)}

/* Perbaikan: menu dan merek tidak boleh patah baris */
.brand,.brand-sub,.brand-name{white-space:nowrap}
.menu a{white-space:nowrap; padding:.5rem .55rem; font-size:.9rem}
.nav{gap:.8rem}
@media (max-width:1180px) and (min-width:961px){.nav-cta{display:none}}
