/* =========================================================
   RAJA SARANA MAKMURINDO - Design Tokens
   Palette lahir dari dunia ekspedisi: navy rute malam,
   amber label kargo, kertas manifest.
   ========================================================= */
:root{
  --base:        #FAFAF7;
  --base-alt:    #F1EEE3;
  --paper:       #FFFFFF;
  --ink:         #14181F;
  --ink-soft:    #3A4150;
  --steel:       #6B7280;
  --steel-light: #9CA3AF;
  --border:      #E4E1D6;
  --navy:        #1B2A4A;
  --navy-dark:   #101A30;
  --navy-tint:   #E9EDF4;
  --amber:       #E8A83C;
  --amber-dark:  #C98A22;
  --amber-tint:  #FBF0DA;
  --green:       #2F8F5B;

  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 14px;
  --container: 1180px;
  --shadow-card: 0 1px 2px rgba(20,24,31,0.04), 0 8px 24px -12px rgba(20,24,31,0.12);
  --shadow-lift: 0 16px 40px -16px rgba(16,26,48,0.28);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-display);
  background:var(--base);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-weight:700; letter-spacing:-0.01em; line-height:1.2; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
  outline:2px solid var(--navy);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.icon{ width:20px; height:20px; flex-shrink:0; }

/* ---------------------------------------------------------
   Eyebrow / manifest label - elemen struktural khas rute
   --------------------------------------------------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--navy);
  background:var(--navy-tint);
  border:1px solid rgba(27,42,74,0.14);
  padding:5px 12px;
  border-radius:100px;
}
.eyebrow::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--amber);
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  padding:13px 22px;
  border-radius:var(--radius-sm);
  border:1.5px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{
  background:var(--amber);
  color:var(--navy-dark);
  box-shadow:0 6px 16px -6px rgba(232,168,60,0.55);
}
.btn-primary:hover{ background:var(--amber-dark); }
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,0.4);
  color:var(--paper);
}
.btn-outline:hover{ background:rgba(255,255,255,0.1); }
.btn-ghost{
  background:var(--paper);
  border-color:var(--border);
  color:var(--ink);
}
.btn-ghost:hover{ border-color:var(--navy); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 14px; font-size:13px; }

/* ---------------------------------------------------------
   Header / Navigation - app-like, sticky
   --------------------------------------------------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(250,250,247,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:68px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:20px;
  color:var(--navy-dark);
}
.brand img{ height:36px; width:auto; }

.nav-desktop{ display:none; }
@media (min-width: 900px){
  .nav-desktop{
    display:flex;
    align-items:center;
    gap:2px;
  }
  .nav-desktop a{
    padding:10px 16px;
    border-radius:100px;
    font-size:14.5px;
    font-weight:600;
    color:var(--ink-soft);
    transition:background .15s ease, color .15s ease;
  }
  .nav-desktop a:hover,
  .nav-desktop a.active{
    background:var(--navy-tint);
    color:var(--navy);
  }
}

.header-actions{ display:flex; align-items:center; gap:10px; }
.header-actions .btn-primary{ display:none; }
@media (min-width:640px){
  .header-actions .btn-primary{ display:inline-flex; }
}

.menu-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
}
@media (min-width:900px){ .menu-toggle{ display:none; } }

.mobile-menu{
  position:fixed;
  inset:68px 0 0 0;
  background:var(--base);
  z-index:99;
  padding:20px;
  overflow-y:auto;
  transform:translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}
.mobile-menu.is-open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.mobile-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 4px;
  font-size:17px;
  font-weight:600;
  border-bottom:1px solid var(--border);
  color:var(--ink);
}
.mobile-menu .sub-links{
  padding-left:16px;
}
.mobile-menu .sub-links a{
  font-size:15px;
  font-weight:500;
  color:var(--steel);
  padding:12px 4px;
}
.mobile-menu-cta{ margin-top:24px; display:flex; flex-direction:column; gap:10px; }

/* Bottom app bar - mobile quick actions */
.app-bar{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:90;
  background:var(--paper);
  border-top:1px solid var(--border);
  display:flex;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  gap:8px;
  box-shadow:0 -8px 24px -18px rgba(20,24,31,0.3);
}
@media (min-width:900px){ .app-bar{ display:none; } }
.app-bar a{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:13.5px;
  font-weight:700;
  padding:11px 8px;
  border-radius:var(--radius-sm);
}
.app-bar .call{ background:var(--navy-tint); color:var(--navy); }
.app-bar .whatsapp{ background:var(--amber); color:var(--navy-dark); }
body{ padding-bottom:76px; }
@media (min-width:900px){ body{ padding-bottom:0; } }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero{
  background:var(--navy-dark);
  color:var(--paper);
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:480px;
}
@media (min-width:640px){ .hero{ min-height:580px; } }
@media (min-width:1024px){ .hero{ min-height:660px; } }
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(16,26,48,0.55) 0%, rgba(16,26,48,0.92) 100%);
}
.hero-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.55;
}
.hero-inner{
  position:relative;
  z-index:1;
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:40px;
  padding-bottom:40px;
}
.hero-inner h1{
  max-width:680px;
}
.hero .eyebrow{
  background:rgba(255,255,255,0.1);
  border-color:rgba(255,255,255,0.18);
  color:var(--paper);
}
.hero h1{
  font-size:clamp(30px, 6vw, 50px);
  line-height:1.08;
  margin:0 0 16px;
}
.hero .eyebrow + h1{
  margin-top:18px;
}
.hero p{
  font-size:16.5px;
  color:rgba(255,255,255,0.78);
  max-width:520px;
}
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
@media (max-width:639px){
  .hero-cta{
    flex-direction:column;
    align-items:stretch;
  }
  .hero-cta .btn{
    width:100%;
  }
}

.hero-strip{
  position:relative;
  z-index:1;
  border-top:1px solid rgba(255,255,255,0.14);
  display:grid;
  grid-template-columns:repeat(2,1fr);
}
@media (min-width:720px){
  .hero-strip{ grid-template-columns:repeat(4,1fr); }
}
.hero-strip .stat{
  padding:18px 20px;
  border-right:1px solid rgba(255,255,255,0.1);
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.hero-strip .stat:nth-child(even){ border-right:none; }
@media (min-width:720px){
  .hero-strip .stat{ border-bottom:none; }
  .hero-strip .stat:nth-child(even){ border-right:1px solid rgba(255,255,255,0.1); }
  .hero-strip .stat:last-child{ border-right:none; }
}
.hero-strip .stat-value{
  font-family:var(--font-mono);
  font-size:22px;
  font-weight:600;
  color:var(--amber);
}
.hero-strip .stat-label{
  font-size:12.5px;
  color:rgba(255,255,255,0.65);
  margin-top:2px;
}

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */
.section{ padding:64px 0; }
.section-alt{ background:var(--base-alt); }
.section-head{
  max-width:600px;
  margin-bottom:28px;
}
.section-head h2{
  font-size:clamp(24px, 4vw, 34px);
  line-height:1.2;
}
.section-head .eyebrow + h2{
  margin-top:14px;
}
.section-head p{
  color:var(--steel);
  margin-top:12px;
  font-size:15.5px;
}
.section-head.center{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

/* ---------------------------------------------------------
   Signature component: Waybill / manifest stub card
   Terinspirasi dari label pengiriman (AWB) - dipakai untuk
   layanan, portfolio, dan fitur unggulan.
   --------------------------------------------------------- */
.waybill{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:22px;
  position:relative;
  box-shadow:var(--shadow-card);
  transition:transform .18s ease, box-shadow .18s ease;
}
.waybill:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-lift);
}
.waybill-code{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.06em;
  color:var(--steel);
  text-transform:uppercase;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:14px;
  margin-bottom:16px;
  border-bottom:1px dashed var(--border);
}
.waybill-code span.tag{
  background:var(--navy-tint);
  color:var(--navy);
  padding:3px 8px;
  border-radius:4px;
  font-weight:600;
}
.waybill-icon{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:var(--amber);
  border-radius:var(--radius-sm);
  margin-bottom:16px;
}
.waybill-icon .icon{ width:24px; height:24px; }
.waybill h3{ font-size:19px; margin-bottom:8px; }
.waybill p{ color:var(--steel); font-size:14.5px; }
.waybill .waybill-link{
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  font-size:14px;
  color:var(--navy);
}
.waybill .waybill-link .icon{ width:16px; height:16px; }

/* Kartu layanan berstatus "Segera Hadir" - non-klik, ditandai muted */
.waybill-code span.tag-soon{
  background:var(--amber-tint);
  color:#8A5A0F;
}
.waybill-soon{
  cursor:default;
  opacity:0.82;
}
.waybill-soon:hover{
  transform:none;
  box-shadow:var(--shadow-card);
}
.waybill-link-soon{
  color:var(--steel) !important;
}

.grid-3{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
@media (min-width:720px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }
.grid-2{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
@media (min-width:720px){ .grid-2{ grid-template-columns:repeat(2,1fr); } }

/* Layout halaman detail (konten utama + sidebar): 1 kolom di mobile,
   2fr/1fr di layar lebih lebar. Menggantikan inline style lama yang
   tidak punya breakpoint mobile. */
.detail-layout{
  display:grid;
  grid-template-columns:1fr;
  align-items:start;
  gap:24px;
}
@media (min-width:820px){
  .detail-layout{
    grid-template-columns:2fr 1fr;
    gap:32px;
  }
}

/* Why us - simple icon row (dipakai di homepage) */
.feature-row{
  display:flex;
  gap:16px;
  padding:20px 0;
  border-bottom:1px solid var(--border);
}
.feature-row:last-child{ border-bottom:none; }
.feature-row .waybill-icon{ margin-bottom:0; flex-shrink:0; }
.feature-row h3{ font-size:17px; margin-bottom:6px; }
.feature-row p{ color:var(--steel); font-size:14.5px; }

/* About */
.about-media{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.about-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/4; }
.about-media .badge{
  position:absolute;
  left:16px;
  bottom:16px;
  background:var(--paper);
  border-radius:var(--radius-sm);
  padding:12px 16px;
  box-shadow:var(--shadow-card);
  font-family:var(--font-mono);
  font-size:12px;
}
.about-media .badge strong{
  display:block;
  font-family:var(--font-display);
  font-size:18px;
  color:var(--navy);
}
.about-body{ display:flex; flex-direction:column; justify-content:center; }
.about-body p{ color:var(--ink-soft); margin-top:14px; white-space:pre-line; }
.about-list{ margin-top:20px; display:flex; flex-direction:column; gap:12px; }
.about-list li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink-soft); }
.about-list .icon{ color:var(--green); margin-top:2px; }

/* CTA band */
.cta-band{
  background:var(--navy);
  color:var(--paper);
  border-radius:var(--radius-lg);
  padding:44px 32px;
  display:flex;
  flex-direction:column;
  gap:20px;
  align-items:flex-start;
}
@media (min-width:768px){
  .cta-band{ flex-direction:row; align-items:center; justify-content:space-between; }
}
.cta-band h2{ font-size:26px; }
.cta-band p{ color:rgba(255,255,255,0.72); margin-top:8px; max-width:440px; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer{
  background:var(--navy-dark);
  color:rgba(255,255,255,0.7);
  padding:48px 0 24px;
  margin-top:20px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}
@media (min-width:768px){ .footer-grid{ grid-template-columns:1.4fr 1fr 1fr; } }
.footer-brand{ color:var(--paper); font-weight:800; font-size:17px; display:flex; align-items:center; gap:10px;}
.footer-brand img{ height:32px; filter:brightness(0) invert(1); }
.site-footer p{ font-size:14px; margin-top:12px; line-height:1.7; }
.footer-col h4{
  color:var(--paper);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.06em;
  font-family:var(--font-mono);
  margin-bottom:14px;
}
.footer-col a, .footer-col div{ display:block; font-size:14.5px; margin-bottom:10px; }
.footer-col a:hover{ color:var(--amber); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  margin-top:36px;
  padding-top:20px;
  font-size:13px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  color:rgba(255,255,255,0.5);
  font-family:var(--font-mono);
}

/* ---------------------------------------------------------
   Page header (halaman dalam)
   --------------------------------------------------------- */
.page-header{
  background:var(--navy-dark);
  color:var(--paper);
  padding:44px 0 40px;
}
.page-header h1{ font-size:clamp(26px,5vw,38px); margin-top:10px; }
.page-header .eyebrow + h1{ margin-top:14px; }
.page-header p{ color:rgba(255,255,255,0.72); margin-top:10px; max-width:560px; }
.breadcrumb{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:rgba(255,255,255,0.55);
  margin-top:16px;
}
.breadcrumb a{ color:rgba(255,255,255,0.8); }
.breadcrumb a:hover{ color:var(--amber); }

/* Service detail */
.service-hero-img{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:16/9;
}
.service-hero-img img{ width:100%; height:100%; object-fit:cover; }
.service-body p{ color:var(--ink-soft); white-space:pre-line; margin-bottom:16px; }
.service-feature-list{ display:flex; flex-direction:column; gap:10px; margin-top:8px; }
.service-feature-list li{ display:flex; gap:10px; font-size:14.5px; color:var(--ink-soft); align-items:flex-start; }
.service-feature-list .icon{ color:var(--green); margin-top:2px; }
.sidebar-card{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:22px;
  position:sticky;
  top:88px;
}
@media (max-width:819px){
  .sidebar-card{ position:static; top:auto; }
}
.sidebar-card h4{ font-size:15px; margin-bottom:14px; }
.sidebar-card .row{ display:flex; align-items:flex-start; gap:10px; font-size:14px; margin-bottom:14px; color:var(--ink-soft); }
.sidebar-card .row .icon{ color:var(--navy); margin-top:2px; }
.sidebar-card .btn{ margin-top:6px; }

/* Portfolio */
.portfolio-card{
  border-radius:var(--radius-md);
  overflow:hidden;
  background:var(--paper);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card);
  transition:transform .18s ease;
}
.portfolio-card:hover{ transform:translateY(-3px); }
.portfolio-card .thumb{ aspect-ratio:4/3; overflow:hidden; }
.portfolio-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.portfolio-card .body{ padding:18px; }
.portfolio-card .meta{
  font-family:var(--font-mono);
  font-size:11px;
  text-transform:uppercase;
  color:var(--navy);
  background:var(--navy-tint);
  display:inline-block;
  padding:3px 8px;
  border-radius:4px;
  margin-bottom:10px;
}
.portfolio-card h3{ font-size:16.5px; margin-bottom:6px; }
.portfolio-card .excerpt{ color:var(--steel); font-size:14px; }
.filter-bar{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.filter-bar a{
  padding:8px 16px;
  border-radius:100px;
  border:1px solid var(--border);
  font-size:13.5px;
  font-weight:600;
  background:var(--paper);
}
.filter-bar a.active{ background:var(--navy); color:var(--paper); border-color:var(--navy); }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns:1fr; gap:32px; }
@media (min-width:900px){ .contact-grid{ grid-template-columns:1fr 1fr; } }
.contact-form label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:6px; margin-top:16px; }
.contact-form label:first-child{ margin-top:0; }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:inherit;
  font-size:14.5px;
  background:var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus{ border-color:var(--navy); }
.contact-form textarea{ min-height:120px; resize:vertical; }
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); }
.map-frame iframe{ width:100%; height:280px; border:0; display:block; }
.alert{
  padding:14px 16px;
  border-radius:var(--radius-sm);
  font-size:14px;
  margin-bottom:18px;
}
.alert-success{ background:#E7F5EC; color:#1C6B3F; border:1px solid #BFE3CC; }
.alert-error{ background:#FBEAEA; color:#B3261E; border:1px solid #F3C6C4; }

/* Empty state */
.empty-state{
  text-align:center;
  padding:60px 20px;
  color:var(--steel);
}
.empty-state .icon{ width:40px; height:40px; margin:0 auto 14px; color:var(--steel-light); }