/* ============ TOKENS — brand colors sampled from the client logo ============ */
:root{
  --orange:#F5811E;
  --orange-dark:#D96A0F;
  --orange-light:#FFE8D2;
  --indigo:#2D3091;
  --indigo-dark:#1F2168;
  --indigo-light:#E9E9F8;
  --cream:#FFFBF4;
  --paper:#FFFFFF;
  --ink:#20212B;
  --steel:#686C82;
  --steel-light:#A6A9BF;
  --green:#25D366;
  --line:rgba(45,48,145,0.14);
  --shadow-card:0 10px 28px rgba(31,33,104,0.10);
  --shadow-soft:0 4px 14px rgba(31,33,104,0.08);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{margin:0;padding:0;}
body{
  background:#E7E4EF;
  font-family:'Inter',sans-serif;
  color:var(--ink);
  display:flex;
  justify-content:center;
  min-height:100vh;
  
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}
.card-shell{
  width:100%;
  max-width:430px;
  min-height:100vh;
  background:var(--cream);
  position:relative;
  overflow-x:hidden;
  padding-bottom:104px;
  box-shadow:0 0 60px rgba(0,0,0,0.18);
}

/* ============ FIELD-LABEL SECTION HEADERS (air-waybill box style) ============ */
.field-tag{
  display:inline-flex; align-items:center; gap:7px;
  border:1.5px dashed var(--indigo);
  padding:5px 11px 5px 9px;
  font-family:'JetBrains Mono',monospace;
  font-size:10.5px; font-weight:600; letter-spacing:1px;
  text-transform:uppercase; color:var(--indigo);
  position:relative; border-radius:4px;
}
.field-tag::before{content:'▣'; font-size:9px; color:var(--orange);}
.section-title{
  font-family:'Barlow Condensed',sans-serif;
  font-size:27px; font-weight:800; letter-spacing:0.2px;
  color:var(--indigo-dark); margin:8px 0 5px; text-transform:uppercase;
}
.section-sub{font-size:13px; color:var(--steel); margin:0 0 18px; line-height:1.5;}
section{padding:36px 22px 6px; position:relative;}

/* perforated tear divider between major sections */
.tear-divider{
  position:relative; height:18px; margin:6px 0;
  background-image:radial-gradient(circle 5px at 0 50%, #E7E4EF 5px, transparent 5.5px),
                    radial-gradient(circle 5px at 100% 50%, #E7E4EF 5px, transparent 5.5px);
}
.tear-divider::after{
  content:'';
  position:absolute; left:16px; right:16px; top:50%; height:0;
  border-top:2px dashed var(--line);
}

.reveal{opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ============ HERO — shipping label card ============ */
.hero{
  background:var(--paper);
  padding:24px 20px 22px;
  position:relative;
  border-bottom:3px dashed var(--indigo-light);
}
.hero::before, .hero::after{ /* punch holes */
  content:''; position:absolute; top:0; width:16px;height:16px; border-radius:50%;
  background:#E7E4EF;
}
.hero::before{left:-8px;}
.hero::after{right:-8px;}

.logo-wrap{ text-align:center; padding:6px 6px 4px; }
.logo-wrap img{ width:170px; max-width:62%; height:auto; }

/* route animation — cargo truck */
.route-scene{ position:relative; height:58px; margin:12px 0 4px; }
.route-scene svg{ width:100%; height:100%; display:block; }
.route-path{ stroke:var(--indigo-light); stroke-width:2.5; stroke-dasharray:6 8; fill:none; }
.truck-icon{
  offset-path: path('M2,42 C 60,42 60,16 120,16 C 200,16 200,42 260,42 C 320,42 320,18 386,18');
  animation: driveTruck 5.5s linear infinite;
}
@keyframes driveTruck{
  0%{ offset-distance:0%; }
  100%{ offset-distance:100%; }
}

.brand-tagline{
  text-align:center; font-size:13.5px; color:var(--steel);
  font-style:italic; margin:2px 0 18px; line-height:1.55; padding:0 8px;
}

.franchise-strip{
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:var(--indigo); color:#fff;
  padding:9px 14px; border-radius:10px; font-size:11.5px; font-weight:600;
  margin-bottom:16px;
}
.franchise-strip b{color:var(--orange);}

/* waybill tracking strip */
.waybill-strip{
  border:1.5px solid var(--line); border-radius:14px; padding:12px 14px 14px;
  background:linear-gradient(180deg,#fff, #FFFCF8);
}
.waybill-row{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px;}
.waybill-row span{font-family:'JetBrains Mono',monospace; font-size:9.5px; color:var(--steel-light); text-transform:uppercase; letter-spacing:0.8px;}
.waybill-row b{font-family:'JetBrains Mono',monospace; font-size:12.5px; color:var(--indigo-dark); font-weight:700;}
.barcode{height:34px; display:flex; align-items:flex-end; gap:2px; margin-bottom:4px;}
.barcode i{display:block; background:var(--ink); flex-shrink:0;}

/* stats — consignment note table */
.stats-strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  margin-top:16px; border-radius:12px; overflow:hidden;
  border:1.5px solid var(--indigo);
}
.stat{ text-align:center; padding:12px 4px; background:var(--indigo); border-right:1px dashed rgba(255,255,255,0.25); }
.stat:last-child{border-right:none;}
.stat b{display:block; font-family:'Barlow Condensed',sans-serif; font-size:21px; color:var(--orange); font-weight:800;}
.stat span{display:block; font-size:8.5px; color:#D8D9F2; text-transform:uppercase; letter-spacing:0.5px; margin-top:2px;}

/* ============ CTA ROW ============ */
.cta-row{display:flex; gap:10px; padding:20px 22px 8px;}
.btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 10px; border-radius:12px; border:none;
  font-family:'Inter',sans-serif; font-weight:700; font-size:14px;
  cursor:pointer; text-decoration:none; transition:transform .15s ease;
}
.btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:16px 24px;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
}

.btn:active{transform:scale(0.96);}
.btn svg{width:18px;height:18px;flex-shrink:0;}
.btn svg{
    width:20px;
    height:20px;
    flex-shrink:0;
}
.btn-whatsapp{
  background:var(--indigo); color:#fff;
}
.btn-call{background:var(--indigo); color:#fff;}
.btn-outline{background:#fff; color:var(--indigo); border:1.5px solid var(--indigo);}

.social-row{display:flex; gap:10px; padding:12px 22px 4px;}
.icon-btn{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:6px;
  padding:12px 6px; border-radius:12px; background:#fff;
  border:1px solid var(--line); text-decoration:none; color:var(--indigo-dark);
  font-size:10.5px; font-weight:600;
}
.icon-btn .ic-circle{width:34px;height:34px;border-radius:9px; display:flex;align-items:center;justify-content:center; background:var(--orange);}
.icon-btn .ic-circle svg{width:16px;height:16px;stroke:#fff;}
.icon-btn.fb .ic-circle{background:#1877F2;}
.icon-btn.ig .ic-circle{background:linear-gradient(145deg,#f58529,#dd2a7b,#8134af);}
.icon-btn.mail .ic-circle{background:var(--indigo);}
.icon-btn.call .ic-circle{background:var(--indigo);}
.icon-btn.whatsapp .ic-circle{background:var(--indigo);}
.icon-btn .ic-circle i{
  color:#fff;
  font-size:16px;
}


/*Partners Logo Slide*/

.partner-pill{
  display:flex;
  align-items:center;
  justify-content:center;

  width:170px;
  height:70px;

  background:#fff;
  border-radius:16px;
  padding:10px 20px;
}

.partner-pill img{
  max-width:120px;
  max-height:45px;
  object-fit:contain;
}

/*Company Logo*/

.company-logo{
    width:150px;
    height:auto;
    display:block;
    margin:10px auto 0;
}

/* ============ COPY FIELDS ============ */
.copy-card{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:#fff; border:1.5px dashed var(--indigo);
  border-radius:12px; padding:13px 14px; margin-bottom:12px; position:relative;
}
.copy-meta{display:flex; flex-direction:column; gap:3px; min-width:0;}
.copy-label{font-size:9.5px; text-transform:uppercase; letter-spacing:1px; color:var(--orange-dark); font-weight:700;}
.copy-value{font-family:'JetBrains Mono',monospace; font-size:13.5px; color:var(--indigo-dark); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.copy-btn{
  flex-shrink:0; width:36px;height:36px;border-radius:9px;
  background:var(--indigo); border:none; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.copy-btn svg{width:16px;height:16px; stroke:#fff;}
.copy-btn:active{transform:scale(0.9);}

/* ============ SERVICES LIST ============ */
.stop-list{position:relative; padding-left:6px;}
.stop-item{display:flex; gap:14px; position:relative; padding-bottom:26px;}
.stop-item:last-child{padding-bottom:0;}
.stop-item::before{
  content:''; position:absolute; left:20px; top:42px; bottom:0; width:2px;
  background-image:linear-gradient(var(--orange) 40%, transparent 0%);
  background-size:2px 8px; background-repeat:repeat-y;
}
.stop-item:last-child::before{display:none;}
.stop-ic{
  width:42px;height:42px;border-radius:10px; flex-shrink:0;
  background:var(--indigo-light); display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-soft); z-index:1; border:1.5px solid var(--indigo);
}
.stop-ic svg{width:20px;height:20px; stroke:var(--indigo);}
.stop-body h4{margin:2px 0 4px; font-size:14.5px; font-weight:700; color:var(--indigo-dark);}
.stop-body p{margin:0; font-size:12.5px; color:var(--steel); line-height:1.5;}

/* ============ MARQUEE ============ */
.marquee-wrap{
  overflow:hidden; margin:0 -22px; padding:8px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{display:flex; gap:10px; width:max-content; animation:scrollMarquee 22s linear infinite;}
@keyframes scrollMarquee{0%{transform:translateX(0);} 100%{transform:translateX(-50%);}}
.partner-pill{
  flex-shrink:0; padding:10px 16px; border-radius:8px;
  background:#fff; border:1.5px solid var(--indigo);
  font-size:12.5px; font-weight:700; color:var(--indigo-dark);
  display:flex; align-items:center; gap:7px; box-shadow:var(--shadow-soft);
}
.partner-pill .dot{width:6px;height:6px;border-radius:50%;background:var(--orange);}

/* ============ TEAM ============ */
.team-grid{display:flex; gap:12px;}
.team-card{
  flex:1; background:#fff; border-radius:14px; padding:16px 12px;
  text-align:center; border:1px solid var(--line); box-shadow:var(--shadow-soft);
  cursor:pointer; transition:transform .15s ease;
}
.team-card:active{transform:scale(0.97);}
.avatar{
  width:56px;height:56px;border-radius:50%; margin:0 auto 10px;
  background:var(--indigo); display:flex;align-items:center;justify-content:center;
  color:var(--orange); font-family:'Barlow Condensed',sans-serif; font-weight:800; font-size:19px;
  border:2.5px solid var(--orange);
}
.team-card h5{margin:0 0 2px; font-size:13.5px; color:var(--indigo-dark); font-weight:700;}
.team-card span{font-size:10.5px; color:var(--steel);}
.tap-hint{margin-top:10px; font-size:9.5px; color:var(--orange-dark); font-weight:700; text-transform:uppercase; letter-spacing:0.5px; display:flex; align-items:center; justify-content:center; gap:4px;}

/* ============ SHIPMENT GRID ============ */
.ship-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.ship-card{
  background:#fff; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow-soft);
  cursor:pointer; transition:transform .15s ease; display:flex; flex-direction:column;
}
.ship-card:active{transform:scale(0.97);}
.ship-img{height:80px; display:flex;align-items:center;justify-content:center; background:var(--orange-light); position:relative;}
.ship-img svg{width:38px;height:38px;}
.ship-body{padding:10px 11px 12px;}
.ship-body h5{margin:0 0 4px; font-size:12.5px; font-weight:700; color:var(--indigo-dark); line-height:1.3;}
.ship-price{font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--orange-dark); font-weight:700;}
.ship-book{
  margin-top:8px; display:flex; align-items:center; justify-content:center; gap:5px;
  background:var(--indigo); color:#fff; font-size:10.5px; font-weight:700;
  padding:7px 0; border-radius:7px;text-decoration: none;
}
.ship-book svg{width:12px;height:12px;}

/* ============ MAP ============ */
.map-frame{ border-radius:14px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-soft); height:190px; margin-bottom:12px; }
.map-frame iframe{width:100%;height:100%; border:0; display:block;}
.address-box{ display:flex; gap:10px; background:#fff; border:1.5px dashed var(--indigo); border-radius:12px; padding:13px 14px; margin-bottom:14px; }
.address-box svg{width:18px;height:18px; flex-shrink:0; margin-top:2px; stroke:var(--orange-dark);}
.address-box p{margin:0; font-size:12.5px; color:var(--steel); line-height:1.55;}

/* ============ FOOTER ============ */
.footer{text-align:center; padding:28px 22px 0px; color:var(--steel-light); font-size:11px;}
.footer-vd{text-align:center; padding:5px 22px 0px; color:var(--steel-light); font-size:11px;}
.footer b{color:var(--indigo-dark);}

/* ============ STICKY BOTTOM NAV — floating pill ============ */
.bottom-nav{
  position:fixed; bottom:14px; left:50%; transform:translateX(-50%);
  width:calc(100% - 32px); max-width:398px; background:var(--indigo-dark);
  display:flex; justify-content:space-around; align-items:center;
  padding:11px 6px; border-radius:20px; z-index:50;
  box-shadow:0 10px 26px rgba(31,33,104,0.35);
}
.nav-item{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  background:none; border:none; color:#9497C4; cursor:pointer;
  font-size:9px; font-weight:600; padding:4px 8px; text-decoration:none;
}
.nav-item svg{width:19px;height:19px; stroke:#9497C4; transition:stroke .2s ease;}
.nav-item.active{color:var(--orange);}
.nav-item.active svg{stroke:var(--orange);}

/* ============ TOAST ============ */
.toast{
  position:fixed; bottom:96px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--indigo-dark); color:#fff; padding:11px 20px; border-radius:10px;
  font-size:12.5px; font-weight:600; display:flex; align-items:center; gap:8px;
  opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease;
  z-index:200; box-shadow:0 8px 20px rgba(0,0,0,0.25); max-width:88%;
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0);}
.toast svg{width:15px;height:15px; stroke:var(--orange); flex-shrink:0;}

/* ============ BOTTOM SHEET ============ */
.sheet-overlay{ position:fixed; inset:0; background:rgba(31,33,104,0.45); opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:100; display:flex; justify-content:center; }
.sheet-overlay.open{opacity:1; pointer-events:auto;}
.sheet{
  position:absolute; bottom:0; width:100%; max-width:430px;
  background:var(--cream); border-radius:22px 22px 0 0;
  padding:10px 22px 26px; transform:translateY(100%);
  transition:transform .32s cubic-bezier(.32,.72,0,1);
  max-height:82vh; overflow-y:auto; border-top:3px dashed var(--indigo-light);
}
.sheet-overlay.open .sheet{transform:translateY(0);}
.sheet-handle{width:40px;height:4px; background:#D8D5C8; border-radius:4px; margin:6px auto 16px;}
.sheet-close-x{
  position:absolute; right:18px; top:16px; width:30px;height:30px; border-radius:8px;
  background:#fff; border:1px solid var(--line); display:flex;align-items:center;justify-content:center; cursor:pointer;
}
.sheet-close-x svg{width:14px;height:14px; stroke:var(--indigo);}

.sheet-profile-head{display:flex; align-items:center; gap:14px; margin-bottom:18px;}
.sheet-avatar{
  width:64px;height:64px;border-radius:50%; background:var(--indigo);
  display:flex;align-items:center;justify-content:center; color:var(--orange);
  font-family:'Barlow Condensed',sans-serif; font-weight:800; font-size:22px;
  border:2.5px solid var(--orange); flex-shrink:0;
}
.sheet-profile-head h3{margin:0 0 3px; font-size:18px; color:var(--indigo-dark); font-family:'Barlow Condensed',sans-serif; font-weight:700;}
.sheet-profile-head span{font-size:12px; color:var(--steel);}
.sheet-actions{display:flex; gap:10px; margin-bottom:6px;}
.sheet-actions .btn{padding:12px 8px; font-size:12.5px; border-radius:10px;}
.sheet-note{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:13px 14px; font-size:12.5px; color:var(--steel); line-height:1.6; margin-top:14px; }

.detail-hero{ height:118px; border-radius:14px; margin-bottom:16px; background:var(--orange-light); display:flex; align-items:center; justify-content:center; }
.detail-hero svg{width:54px;height:54px;}
.detail-title{font-family:'Barlow Condensed',sans-serif; font-size:22px; font-weight:800; color:var(--indigo-dark); margin:0 0 4px; text-transform:uppercase;}
.detail-price{font-family:'JetBrains Mono',monospace; color:var(--orange-dark); font-weight:700; font-size:14px; margin-bottom:14px; display:block;}
.detail-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:16px;}
.detail-stat{background:#fff; border:1px solid var(--line); border-radius:10px; padding:11px;}
.detail-stat b{display:block; font-size:13px; color:var(--indigo-dark);}
.detail-stat span{font-size:10px; color:var(--steel); text-transform:uppercase; letter-spacing:0.4px;}
.detail-desc{font-size:13px; color:var(--steel); line-height:1.6; margin-bottom:18px;}
.detail-book{
  width:100%; padding:15px; border-radius:12px; background:var(--green); color:#fff;
  border:none; font-weight:700; font-size:14.5px; display:flex; align-items:center; justify-content:center; gap:8px;
  cursor:pointer; text-decoration:none;
}
.detail-book svg{width:18px;height:18px;}
