/* ZY-OFFICIAL P0-4 Desktop visual closeout.
   Code-first only: no page mockup screenshots are used as runtime artwork. */
:root{--p04-blue:#0759a7;--p04-cyan:#e7f5ff;--p04-navy:#082c53;--p04-orange:#f47a13;--p04-card:#ffffff;--p04-stroke:#dce9f4}
body{background:#fff}.site-header{box-shadow:0 3px 16px rgba(0,65,119,.05)}
.header-inner{height:82px}.brand{min-width:270px}.brand-mark{width:62px}.brand-mark img{width:62px;height:48px}.brand-copy b{font-size:22px}.brand-copy small{font-size:9.5px}
.site-nav{gap:24px}.site-nav a{font-size:13px}.btn{border-radius:8px}.btn-orange{background:linear-gradient(135deg,#ff7b00,#ef6700)}

/* Shared hero language */
.hero{background:linear-gradient(110deg,#fafdff 0%,#eef8ff 42%,#d8eeff 100%);border-bottom:1px solid #d8e8f4}
.hero:before{opacity:.5}.hero:after{display:none}.hero-inner{min-height:535px;padding:52px 0 58px}.hero h1{font-size:50px;max-width:720px;margin-top:10px}.hero-copy>p{font-size:16px;line-height:1.9;color:#334b62}.hero-visual{height:410px;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.hero-visual:before{display:none}
.code-scene{overflow:visible}.world-dots{position:absolute;inset:5% 2% 12% 10%;opacity:.52;mask-image:radial-gradient(ellipse at 58% 48%,#000 10%,transparent 72%)}.world-dots i{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:50%;background:#60b8ef;box-shadow:0 0 9px rgba(64,166,230,.45)}
.network-svg{opacity:.92}.network-svg path{stroke-width:1.7}.water-code{position:absolute;left:-18%;right:-16%;height:84px;bottom:-32px;overflow:hidden;opacity:.5}.water-code i{position:absolute;left:0;width:125%;height:2px;background:linear-gradient(90deg,transparent,#8bc9eb 20%,#4aa8dd 60%,transparent);border-radius:50%}.water-code i:nth-child(1){top:8px;transform:rotate(-1deg)}.water-code i:nth-child(2){top:28px;transform:rotate(1deg)}.water-code i:nth-child(3){top:48px}.water-code i:nth-child(4){top:69px;transform:rotate(-1.3deg)}
.skyline-code{position:absolute;left:8%;right:12%;bottom:34px;height:92px;display:flex;align-items:flex-end;gap:4px;opacity:.28}.skyline-code i{display:block;width:22px;height:var(--h);background:linear-gradient(#75b8e4,#2e78ad);border-radius:2px 2px 0 0}.crane-code{position:absolute;width:120px;height:145px;right:1%;bottom:42px;opacity:.62}.crane-code:before{content:"";position:absolute;right:18px;bottom:0;width:5px;height:115px;background:#19679e}.crane-code:after{content:"";position:absolute;right:16px;top:20px;width:105px;height:4px;background:#19679e;transform:rotate(-5deg);transform-origin:right}.crane-code i{position:absolute;right:70px;top:28px;width:2px;height:70px;background:#19679e}.crane-code b{position:absolute;right:64px;top:95px;width:15px;height:10px;background:#ef7b1a}.crane-b{right:15%;transform:scale(.72);transform-origin:bottom right;opacity:.32}
.globe-code{right:74px;top:37px;width:290px;height:290px}.plane-code{right:94px;top:55px}.plane-code .zy-icon{width:205px;height:205px;fill:#0d64ab;stroke:#06497f}.plane-code:after{right:8px;bottom:79px}.ship-code{right:-8px;bottom:20px;width:355px;height:146px}.ship-bridge{position:absolute;left:75px;top:7px;width:52px;height:42px;z-index:3}.ship-bridge i{position:absolute;bottom:0;left:0;width:45px;height:27px;background:#eaf5fb;border:2px solid #145a8c}.ship-bridge b{position:absolute;bottom:27px;left:17px;width:7px;height:18px;background:#145a8c}.ship-containers{left:48px;right:35px;top:38px;height:72px;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(3,1fr);gap:3px}.ship-hull{height:54px}.scene-badge{font-size:11px}.scene-metric{left:14px;top:32px;padding:14px 16px}.scene-metric b{font-size:17px}.scene-metric span{font-size:10px}

/* HOME – match approved composition: hero message + quote panel + logistics scene */
body[data-page-key="home"] .hero-inner{display:block;min-height:615px;padding-top:56px;padding-bottom:28px}
body[data-page-key="home"] .hero-copy{width:100%;position:relative;z-index:4}
body[data-page-key="home"] .hero-copy>.eyebrow{display:none}
body[data-page-key="home"] .hero h1{font-size:48px;line-height:1.16;max-width:600px;margin:0 0 12px;color:#111827}
body[data-page-key="home"] .hero h1::first-line{color:#0759a7}
body[data-page-key="home"] .hero-copy>p{max-width:660px;margin-bottom:20px;font-weight:650;color:#2f455b}
body[data-page-key="home"] .hero-visual{position:absolute;right:0;top:0;width:58%;height:100%;z-index:1}
body[data-page-key="home"] .hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eef8ff 0%,rgba(238,248,255,.45) 22%,transparent 58%);z-index:6;pointer-events:none}
body[data-page-key="home"] .quote-panel{position:relative;z-index:8;width:610px;max-width:60%;margin:0;border-radius:15px;box-shadow:0 18px 38px rgba(23,80,125,.18)}
body[data-page-key="home"] .quote-form{padding:18px 20px 20px}.tabs .tab{font-size:14px;padding:13px 16px}.tabs .tab.active{background:linear-gradient(135deg,#0759a7,#0b75c7);color:#fff}.field label{font-size:11px;font-weight:800;color:#354d63}.field input,.field select,.field textarea{border-color:#dce6ef;background:#fff}.quote-submit{min-height:46px}
.quick-row{margin-top:0;background:#fff;border-bottom:1px solid #edf2f6}.quick-actions{padding:18px 0;gap:16px}.quick-card{min-height:78px;border-radius:10px;border:1px solid #e2ecf4;background:linear-gradient(180deg,#fff,#f7fbff);padding:14px 20px}.quick-card:nth-child(2){background:linear-gradient(180deg,#fff9f3,#fff)}.quick-icon{width:46px;height:46px}.quick-icon .zy-icon{width:26px;height:26px}.quick-card h3{font-size:17px}.quick-card p{font-size:11px}
.section{padding:56px 0}.section-title{margin-bottom:28px}.section-title .eyebrow{display:none}.section-title h2{font-size:28px}.section-title p{font-size:13px}.card{border-radius:10px;border:1px solid #e1e9f0;box-shadow:0 6px 20px rgba(20,65,103,.04)}
.service-card{overflow:hidden;min-height:214px}.card-photo{height:95px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#d9effd,#87c5ec)}.card-photo:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-65px;top:-85px;border:1px solid rgba(255,255,255,.8);box-shadow:0 0 0 28px rgba(255,255,255,.2)}.card-photo:after{content:"";position:absolute;left:-20px;right:-20px;bottom:12px;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent)}.card-photo .zy-icon{width:66px;height:66px;color:#0860a6;filter:drop-shadow(0 8px 9px rgba(0,70,120,.13))}.service-card:nth-child(3n) .card-photo{background:linear-gradient(145deg,#cde6f5,#6daed7)}.service-card:nth-child(4) .card-photo{background:linear-gradient(145deg,#eaf5fb,#bfe0f3)}.service-card:nth-child(5) .card-photo{background:linear-gradient(145deg,#eff7fc,#95c7e8)}.service-card:nth-child(6) .card-photo{background:linear-gradient(145deg,#d9edfb,#7eb8de)}.service-body{padding:13px 14px}.service-body h3{margin:0 0 5px;color:#0759a7;font-size:16px}.service-body p{font-size:11px;line-height:1.55;margin:0;color:#5f6f7e}
.cargo-grid{grid-template-columns:repeat(8,1fr);gap:12px}.cargo-card{min-height:142px;padding:16px 8px;text-align:center;background:linear-gradient(#fff,#f9fbfd)}.cargo-emoji{height:66px;margin:0 auto 8px;display:grid;place-items:center}.cargo-emoji .zy-icon{width:42px;height:42px;color:#0759a7}.cargo-card h3{font-size:13px;margin:5px 0}.notice{border-radius:7px;background:#f4f9fd;color:#3f607c;border:1px solid #dcebf6;padding:10px 14px;font-size:11px}
.feature-grid{grid-template-columns:repeat(5,1fr);gap:12px}.feature-card{padding:16px;min-height:130px}.feature-icon{width:48px;height:48px;border-radius:50%;background:#eff7ff;color:#0759a7}.feature-card h3{font-size:14px;color:#0759a7;margin:9px 0 4px}.feature-card p{font-size:10.5px;line-height:1.55;color:#65788a}
body[data-page-key="home"] [data-section="quote-cta"]{padding-top:24px;padding-bottom:24px}.cta-band{border-radius:10px;padding:24px 30px}.cta-band h2{font-size:24px}.cta-band p{font-size:12px}
body[data-page-key="home"] [data-section="public-tracking"]{padding:26px 0;background:linear-gradient(100deg,#0658a2,#0877c9);color:#fff}.tracking-search{max-width:800px;box-shadow:none}.tracking-search .quote-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:0}.tracking-search .field label{color:#dceeff}.tracking-search .btn{min-width:140px}.tracking-search input{height:44px}.tracking-search+.tracking-card{color:#111827}

/* International shipping */
body[data-page-key="international-shipping"] .hero{background:linear-gradient(115deg,#063d78,#0759a7 48%,#0a73c9)}
body[data-page-key="international-shipping"] .hero:before{background-image:radial-gradient(circle,rgba(255,255,255,.22) 1px,transparent 1px);opacity:.45}
body[data-page-key="international-shipping"] .hero h1,body[data-page-key="international-shipping"] .hero .eyebrow{color:#fff}
body[data-page-key="international-shipping"] .hero-copy>p{color:#d6ebfb}.hero .mini-proof .proof{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}.hero .mini-proof .proof .zy-icon{color:#ff9a43}
body[data-page-key="international-shipping"] .hero-visual{filter:saturate(1.1)}
body[data-page-key="international-shipping"] .hero-visual .world-dots i{background:#bfe8ff}.service-meta{font-size:10px;color:#7f8d99;margin-top:9px;border-top:1px solid #eef2f5;padding-top:8px}
.route-map{background:linear-gradient(145deg,#f8fcff,#e8f5fd);border:1px solid #dcecf6}.route-node{box-shadow:0 7px 16px rgba(10,90,150,.12)}

/* Sensitive cargo */
body[data-page-key="sensitive-cargo"] .hero{background:linear-gradient(110deg,#fafdff,#edf8ff 50%,#d7edfd)}
body[data-page-key="sensitive-cargo"] .hero h1{color:#10283d}.sensitive-scene .shield-code{right:108px;top:80px;width:220px;height:220px}.sensitive-scene .shield-code .zy-icon{width:135px;height:135px}.cargo-float{border-radius:12px}.compliance-card{bottom:18px;left:118px;right:98px}
body[data-page-key="sensitive-cargo"] [data-section="cargo-types"] .cargo-card{min-height:160px}.steps{max-width:1100px;margin:auto}

/* Quote */
body[data-page-key="freight-quote"] .hero-inner{min-height:575px}.quote-screen{left:32px;top:60px;width:400px}.price-grid{gap:18px}.price-card{border-radius:12px}.price-card .price{font-size:34px}.price-card:nth-child(1){border-top:3px solid #0b68b6}.price-card:nth-child(2){border-top:3px solid #f47a13}.price-card:nth-child(3){border-top:3px solid #1c9b58}
body[data-page-key="freight-quote"] [data-section="results"]{padding-top:42px}.locked-table{border-radius:12px}

/* Tracking */
body[data-page-key="tracking"] .hero-inner{min-height:520px}.tracking-scene .ship-code{right:-28px;bottom:0}.tracking-scene .track-path{top:250px}.tracking-scene .tracking-status{left:35px;top:68px}
body[data-page-key="tracking"] .tracking-search{max-width:620px;margin:20px 0 0}.tracking-card{max-width:1100px;border-radius:13px}.tracking-head{border-bottom:1px solid #e8eef4;padding-bottom:16px}

/* Login */
body[data-page-key="customer-login"] .hero-inner{min-height:450px}.login-scene .qr-code-code{left:58px;top:58px}.login-benefit-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}.login-benefit-panel{background:#fff;border:1px solid #e1eaf2;border-radius:12px;padding:26px}.login-benefit-panel h2{margin-top:0}.phone-verify-panel{background:linear-gradient(145deg,#f7fbff,#fff);border:1px solid #dce9f4;border-radius:12px;padding:26px}

/* Customer center */
body[data-page-key="customer-center"] .section.soft{background:#f7f9fc}.customer-shell{grid-template-columns:210px 1fr;gap:16px}.customer-side{border-radius:11px;box-shadow:none}.customer-welcome{border-radius:12px;min-height:175px;background:linear-gradient(120deg,#064685,#0876c9)}.status-card{border-radius:10px;box-shadow:none}.orders-panel{border-radius:10px;min-height:380px}.orders-head{background:#fff}.customer-dashboard>.grid .card{min-height:190px}

/* About */
body[data-page-key="about"] [data-section="who-we-are"] .grid{align-items:stretch}.about-company-card{background:linear-gradient(145deg,#fff,#f6fbff)}
body[data-page-key="about"] [data-section="values"] .feature-card{text-align:center}.about-scene .pr-card{left:150px;top:45px}

/* Contact */
.contact-method{min-height:170px;padding:22px 12px}.contact-method .feature-icon{margin-inline:auto}.contact-form{background:#fff;border:1px solid #dde7ef;border-radius:12px;padding:24px;box-shadow:0 8px 24px rgba(20,70,110,.05)}.contact-layout{align-items:stretch}.hub-list .hub-card{min-height:82px}

/* Footer closer to approved visual */
.site-footer{background:#072d54}.tracking-strip{padding:18px 0;background:linear-gradient(110deg,#0756a2,#0879d0)}.footer-main{padding:34px 0 18px}.footer-grid{gap:22px}.footer-brand .brand-copy b{font-size:22px}.footer-col h4{font-size:13px}.footer-col p,.footer-col a{font-size:11px}

/* Desktop strictness: P0-4 only. Mobile is kept but belongs to P0-5 acceptance. */
@media(min-width:1200px){
  body[data-page-key="home"] .grid-6{gap:12px}
  body[data-page-key="home"] .service-card{min-width:0}
  .hero-copy{max-width:680px}
}
@media(max-width:1199px){body[data-page-key="home"] .quote-panel{max-width:66%;width:590px}.cargo-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:920px){body[data-page-key="home"] .hero-inner{display:grid;min-height:auto}.hero-visual{position:relative!important;width:100%!important;height:390px!important}.hero-visual:after{display:none}.hero-copy{width:100%!important}.quote-panel{max-width:none!important;width:100%!important}.login-benefit-layout{grid-template-columns:1fr}}

/* P0-5 compatibility fixes discovered by real Chromium 390/430 render audit. */
@media(max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  .code-scene,.hero-visual{overflow:hidden}
  .water-code{left:0;right:0;width:100%}
  .cargo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid>*{min-width:0}
  body[data-page-key="customer-login"] [data-section="phone-binding"] .steps{grid-template-columns:1fr!important}
  body[data-page-key="customer-login"] [data-section="phone-binding"] .step{grid-template-columns:54px 1fr!important}
  body[data-page-key="customer-login"] [data-section="phone-binding"] .step:not(:last-child):after{display:none}
  body[data-page-key="home"] .hero-inner{padding-top:34px}
  body[data-page-key="home"] .hero h1{font-size:34px}
  body[data-page-key="home"] .hero-visual{height:285px!important}
  body[data-page-key="home"] .quote-panel{box-shadow:0 10px 28px rgba(23,80,125,.12)}
  body[data-page-key="home"] .quick-actions{padding-top:12px}
  .ship-code{right:-22px}.crane-code{right:-20px}.skyline-code{right:0}
}
@media(max-width:420px){
  .cargo-grid,.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cargo-card{min-width:0}.cargo-card h3{font-size:12px}
  .contact-form,.card{max-width:100%}
}

/* P1-4 responsive precedence fix: this file loads after site.css, so repeat customer-center mobile grid rules here. */
@media(max-width:920px){
  body[data-page-key="customer-center"] .customer-shell{grid-template-columns:minmax(0,1fr);gap:12px}
  body[data-page-key="customer-center"] .customer-dashboard{min-width:0}
  body[data-page-key="customer-center"] .customer-side{position:static;display:flex;max-width:100%;width:100%;overflow-x:auto;overflow-y:hidden;gap:6px}
  body[data-page-key="customer-center"] .customer-side h3{display:none}
  body[data-page-key="customer-center"] .customer-side a,body[data-page-key="customer-center"] .customer-side button{white-space:nowrap;flex:0 0 auto}
}
@media(max-width:767px){
  body[data-page-key="customer-center"] .customer-welcome{min-height:0}
  body[data-page-key="customer-center"] .customer-shell,body[data-page-key="customer-center"] .customer-dashboard,body[data-page-key="customer-center"] .customer-order-workspace{min-width:0;max-width:100%}
}

/* P1-5 logistics tracking */
.p15-tracking-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.p15-tracking-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.p15-tracking-status small{color:#6c7b8a}.p15-route{display:flex;align-items:center;gap:18px;padding:22px 0;font-size:18px}.p15-route span{font-weight:700;color:#063e76}.p15-route i{font-style:normal;color:#f47b20;font-weight:800}.p15-public-meta{display:flex;gap:18px;flex-wrap:wrap;padding:10px 14px;border-radius:10px;background:#f5f9fd;color:#547086;font-size:12px}.p15-tracking-events{margin-top:22px}.p15-tracking-events h3{margin:0 0 16px}.p15-public-events{border-top:1px solid #edf2f6;padding-top:12px}
.customer-live-tracking{margin-top:18px}.customer-live-tracking-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.customer-live-tracking-head h3{margin:0}.customer-live-tracking-meta{font-size:12px;color:#6f7d89}.customer-live-tracking .p15-route{padding:10px 0 16px}.tracking-unavailable{padding:14px;border:1px solid #e3ebf3;border-radius:10px;background:#f8fafc;color:#667786}.tracking-source-pill{display:inline-flex;align-items:center;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700;background:#e8f2ff;color:#075bb3}.tracking-source-pill.offline{background:#f1f3f5;color:#66717b}
@media(max-width:767px){.p15-tracking-head{flex-direction:column}.p15-tracking-status{align-items:flex-start}.p15-route{font-size:15px;gap:10px}.customer-live-tracking-head{align-items:flex-start;flex-direction:column}}

/* P2-2: long English navigation must remain usable on common desktop widths. */
@media (min-width:921px) and (max-width:1360px){
  html[lang="en"] .header-inner{gap:10px}
  html[lang="en"] .brand{min-width:220px}
  html[lang="en"] .brand-copy b{font-size:18px}
  html[lang="en"] .brand-copy small{font-size:8px}
  html[lang="en"] .site-nav{gap:10px}
  html[lang="en"] .site-nav a{font-size:11px}
  html[lang="en"] .header-actions{gap:6px}
  html[lang="en"] .header-actions .btn{padding:9px 9px;font-size:11px}
  html[lang="en"] .language-select{max-width:96px;padding:8px 6px}
}
/* P3-6: 360px English brand/footer must respect the mobile container.
   p0-4-desktop.css loads after site.css, so repeat the mobile brand authority here. */
@media(max-width:420px){
  html[lang="en"] .site-header .brand{min-width:0}
  html[lang="en"] .site-header .brand-copy{min-width:0}
  html[lang="en"] .site-header .brand-copy b{font-size:17px;letter-spacing:0}
  html[lang="en"] .footer-grid>*{min-width:0}
  html[lang="en"] .footer-brand-lockup{min-width:0}
  html[lang="en"] .footer-brand .brand-copy{min-width:0}
  html[lang="en"] .footer-brand .brand-copy b{font-size:18px;letter-spacing:0}
  html[lang="en"] .footer-brand p{overflow-wrap:anywhere}
}

