:root{color-scheme:light;--ink:#183146;--sub:#677b88;--line:#dae5eb;--accent:#2b87ab;--bg:#f3f7fa;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}
.topbar{position:relative;overflow:hidden;min-height:82px;padding:15px max(22px,calc((100% - 1080px)/2));background:linear-gradient(90deg,rgba(8,28,43,.96),rgba(14,53,74,.93)),url('/redes/assets/offshore-02.webp') center/cover no-repeat;display:flex;justify-content:space-between;gap:16px;align-items:center;color:#fff;border-bottom:1px solid rgba(122,164,185,.22)}
.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none}.brand strong{font-weight:850;letter-spacing:.14em;display:block;font-size:15px}.brand small{display:block;color:#bad1db;letter-spacing:.15em;font-size:9px}.emblem{width:47px;height:47px;border:1px solid #76929f;border-radius:10px;display:grid;place-items:center;font-weight:850}.toplabel{color:#c1d7df;font-size:13px;white-space:nowrap}
.shell{max-width:1080px;margin:0 auto;padding:35px 20px 50px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.17em;color:#488baa}h1{font-size:clamp(28px,4vw,44px);letter-spacing:-.035em;margin:7px 0}h2{font-size:19px;letter-spacing:-.02em;margin:0 0 16px}.intro{margin:0 0 28px;color:var(--sub)}.hidden{display:none!important}
.tracking-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:22px;align-items:stretch;margin-bottom:22px;padding:30px;border-radius:28px;background:linear-gradient(135deg,#0f2d42 0%,#123b57 48%,#195679 100%);color:#fff;box-shadow:0 18px 45px rgba(15,45,66,.18)}
.tracking-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,21,32,.80),rgba(7,35,50,.55) 42%,rgba(13,56,80,.25) 100%),url('/redes/assets/offshore-01.webp') center/cover no-repeat;opacity:.34;z-index:-2}.tracking-hero:after{content:'';position:absolute;right:-90px;top:-60px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(96,204,255,.18) 0%,rgba(96,204,255,0) 72%);z-index:-1}.tracking-hero .eyebrow{color:#82cce5}.tracking-hero h1{margin-bottom:12px;max-width:12ch}.tracking-hero .intro{color:#d8e8ef;font-size:16px;line-height:1.7;max-width:60ch;margin-bottom:18px}.hero-copy,.hero-panel{position:relative;z-index:1;min-width:0}.hero-tags{display:flex;flex-wrap:wrap;gap:10px}.hero-tags span{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(190,224,239,.16);backdrop-filter:blur(4px);font-size:13px;font-weight:700;color:#f4fbff}.hero-panel{display:flex;flex-direction:column;gap:16px;padding:22px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));border:1px solid rgba(198,228,240,.16);backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.hero-panel-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}.hero-pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:9px 14px;border-radius:999px;background:#d7eef7;color:#0f5e80;font-weight:800;font-size:13px;box-shadow:0 8px 22px rgba(5,23,36,.18)}.hero-pill[data-stage='Entregado']{background:#dff1e4;color:#22693a}.hero-pill[data-stage='Enviado'],.hero-pill[data-stage='Producto terminado']{background:#e3f3fb;color:#196888}.hero-pill[data-stage='Diseño'],.hero-pill[data-stage='Producción'],.hero-pill[data-stage='Confirmado']{background:#e8f3fa;color:#1e6281}.hero-folio-mini{font-size:12px;color:#c5dbe6;font-weight:700;letter-spacing:.03em}.hero-note{margin:0;color:#eff8fb;font-size:15px;line-height:1.7}.hero-points{list-style:none;display:grid;gap:12px;padding:0;margin:0}.hero-points li{display:grid;gap:2px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(192,223,236,.12)}.hero-points strong{font-size:14px;color:#fff}.hero-points span{font-size:13px;color:#d8e8ef;line-height:1.55}
.card{background:white;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 2px 14px #153a5507;margin-bottom:16px;min-width:0}.notice{border:1px solid #bbdceb;background:#e5f2f9;color:#26566c;padding:20px;border-radius:14px;margin-bottom:18px}.warning{border-color:#f1c6b5;background:#fff0e9;color:#904a34}
.summary-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.summary-grid .card{margin-bottom:16px}.label{font-weight:800;letter-spacing:.12em;font-size:11px;color:#5a8194}.folio{font-size:27px;letter-spacing:-.03em;font-weight:850;margin:6px 0}.customer{font-weight:650;margin:0 0 6px}.ref{font-size:13px;color:var(--sub)}.current-status{font-size:28px;font-weight:800;margin:4px 0;color:#186f94}.status-card p{color:var(--sub);font-size:13px;margin:4px 0}
.heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.heading span{font-size:13px;color:var(--sub)}.progress-track{background:#e5edf1;height:11px;border-radius:100px;overflow:hidden;margin:15px 0 22px}.progress-bar{height:100%;width:0;background:linear-gradient(90deg,#48aad0,#198bb2);border-radius:100px;transition:width .3s}.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.steps li{text-align:center;font-size:12px;color:#81929c;font-weight:600}.steps li:before{content:'';width:13px;height:13px;display:block;border:2px solid #c7d6de;border-radius:100%;margin:0 auto 6px;background:#fff}.steps li.done{color:#206f93}.steps li.done:before{background:#2e9bc0;border-color:#2e9bc0}.steps li.current{font-weight:850;color:#173d56}.steps li.current:before{box-shadow:0 0 0 4px #def0f6}
.refresh-status{margin-top:12px;border:1px solid #bfdae7;border-radius:9px;background:#edf8fc;padding:9px 12px;color:#246682;cursor:pointer;font-weight:700;font-size:13px}.refresh-status:disabled{opacity:.5;cursor:wait}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:12px 0;border-bottom:1px solid #e8eef2}.field span{color:var(--sub);font-size:14px}.field strong{font-size:14px;text-align:right;max-width:62%;overflow-wrap:anywhere}.field.balance strong{font-size:21px;color:#165c7d}.fineprint,.disclaimer{color:var(--sub);font-size:12px;margin:18px 0 0}.message{margin:0;white-space:pre-wrap;color:#365468}.products{display:grid;gap:0}.product{border-top:1px solid #e6edf1;padding:16px 0;display:flex;justify-content:space-between;gap:24px}.product:first-child{border-top:0}.product-name{font-size:15px;font-weight:750}.product-meta{font-size:13px;color:var(--sub);margin-top:3px}.product-apps{font-size:12px;margin-top:5px;color:#42677c}.product-total{font-weight:750;text-align:right;white-space:nowrap}footer{text-align:center;padding:24px 15px;background:#0e2534;color:#9fc0d0;font-size:12px}footer a{color:#cce2e9;text-decoration:none}footer span{padding:0 5px}
@media(max-width:700px){.topbar{min-height:74px;padding:12px 18px}.toplabel{display:none}.shell{padding:24px 13px 38px}.tracking-hero{grid-template-columns:1fr;padding:22px;border-radius:20px;gap:16px}.tracking-hero h1{max-width:none}.tracking-hero .intro{font-size:15px;margin-bottom:14px}.hero-panel{padding:18px;border-radius:18px}.hero-panel-top{flex-direction:column;align-items:flex-start}.hero-tags span{font-size:12px;padding:9px 12px}.card{padding:18px;border-radius:14px}.summary-grid{grid-template-columns:1fr}.refresh-status{margin-top:12px;border:1px solid #bfdae7;border-radius:9px;background:#edf8fc;padding:9px 12px;color:#246682;cursor:pointer;font-weight:700;font-size:13px}.refresh-status:disabled{opacity:.5;cursor:wait}.grid-two{grid-template-columns:1fr;gap:0}.folio,.current-status{font-size:24px}.steps{gap:2px}.steps li{font-size:10px}.heading{flex-wrap:wrap}.product{gap:10px}.product-total{font-size:13px}}

@media(max-width:480px){.tracking-hero{padding:18px}.tracking-hero .eyebrow{font-size:11px}.tracking-hero .intro{font-size:14px}.hero-note{font-size:14px}.hero-points li{padding:11px 12px}.hero-points strong{font-size:13px}.hero-points span{font-size:12px}}
/* V10.16 — Documents, images and client support. */
.subtext{color:#687c88;font-size:13px;line-height:1.55;margin:0 0 15px}
.action-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.action-primary,.action-outline{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;padding:11px 18px;font-weight:800;font-size:13px;text-decoration:none;cursor:pointer}
.action-primary{border:1px solid #14658a;background:#0d80aa;color:#fff}.action-primary:hover{background:#0b6890}
.action-outline{border:1px solid #a7cede;background:#fff;color:#236884}
.action-primary:disabled{opacity:.5;cursor:wait}
.pdf-container{margin-top:15px;border:1px solid #dce6ef;background:#edf3f7;border-radius:12px;overflow:hidden;max-width:100%;min-height:360px}
.pdf-container iframe{display:block;width:100%;height:min(75vh,760px);min-height:360px;border:0;background:white}
.customer-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px}
.customer-sample{border:1px solid #dbe4eb;background:#fff;border-radius:12px;padding:8px;text-align:left;cursor:zoom-in;overflow:hidden;min-width:0}
.customer-sample img{display:block;width:100%;height:160px;object-fit:contain;background:#eef4f7;border-radius:8px}
.customer-sample-text{padding:10px 5px 4px;display:grid;gap:5px}
.customer-sample-text strong{font-size:13px;color:#183146;overflow-wrap:anywhere}
.customer-sample-text small{font-size:12px;color:#6e808c;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}
.customer-sample:disabled{opacity:.66;cursor:wait}
.contact-panel{display:flex;gap:15px;align-items:center;justify-content:space-between}.contact-panel h2{margin-bottom:7px}
.guide-link{display:block;font-size:13px;margin-top:5px;text-decoration:underline;color:#007bb1;font-weight:700}
.guide-copy{display:inline-flex;background:#eaf6fb;border:1px solid #c8e1eb;padding:5px 8px;border-radius:6px;margin:6px 0 0;color:#136c90;font-size:12px;cursor:pointer}
.sample-lightbox{position:fixed;z-index:1000;inset:0;background:rgba(6,20,32,.97);color:white;display:flex;flex-direction:column;align-items:stretch}
.viewing-sample{overflow:hidden}
.zoom-header{display:flex;justify-content:space-between;align-items:center;padding:15px max(16px,calc((100% - 1000px)/2));gap:15px}
.zoom-header strong{font-size:17px}.zoom-header p{font-size:12px;color:#b8d1df;margin:4px 0;max-height:3.5em;overflow:auto}
.zoom-header button{border:1px solid #517589;border-radius:9px;color:white;background:#19394e;font-size:22px;min-width:42px;min-height:42px;cursor:pointer}
.zoom-stage{flex:1;display:grid;place-items:center;overflow:hidden;touch-action:none;cursor:grab;min-height:0;user-select:none}
.zoom-stage img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;will-change:transform;pointer-events:none;transform-origin:center center}
.zoom-controls{display:flex;justify-content:center;gap:10px;padding:13px 15px max(18px,env(safe-area-inset-bottom));background:#102a3d}
.zoom-controls button{background:#234559;color:#fff;border:1px solid #456d82;border-radius:9px;min-height:43px;min-width:54px;padding:5px 12px;font-size:16px;cursor:pointer}
@media(max-width:700px){.pdf-container iframe{height:70vh;min-height:420px}.customer-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.customer-sample img{height:124px}.contact-panel{flex-direction:column;align-items:stretch}.contact-panel .action-primary{width:100%}.pdf-container{border-radius:9px}.action-row>*{flex:1}}
@media(max-width:370px){.customer-gallery{grid-template-columns:1fr}.customer-sample{display:grid;grid-template-columns:110px 1fr;gap:8px}.customer-sample img{height:112px}}

/* V10.17 — Guía clicable en vista cliente; se adapta a móvil. */
#tracking{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0;max-width:65%}
#tracking .guide-carrier{font-size:12px;color:#456d83;font-weight:700}
#tracking a.guide-number{display:inline-flex;align-items:center;justify-content:flex-end;max-width:100%;overflow-wrap:anywhere;word-break:break-word;color:#0876a2;font-size:17px;line-height:1.4;font-weight:850;text-decoration:underline;text-underline-offset:3px;min-height:34px}
#tracking a.guide-number:focus-visible{outline:2px solid #157ca5;outline-offset:3px;border-radius:4px}
#tracking .guide-note{max-width:270px;text-align:right;color:#687c88;font-size:11px;line-height:1.4;font-weight:400}
#tracking .guide-copy{margin:3px 0 0}
@media(max-width:500px){#tracking{max-width:65%}#tracking a.guide-number{font-size:15px}#tracking .guide-note{font-size:11px}}

/* V10.20: actualizaciones auténticas de producción, adaptables a móvil */
.customer-notices-list{display:grid;gap:12px}
.customer-notice{border:1px solid #dce8ee;border-left:4px solid #218caf;border-radius:10px;padding:13px 16px;background:#f8fbfd;min-width:0}
.customer-notice strong{display:block;font-size:16px;color:#17384d}
.customer-notice time{display:block;font-size:12px;color:#708999;margin:2px 0 9px}
.customer-notice p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;color:#3f5d6f}
#customer-production .customer-gallery,#customer-finished .customer-gallery{margin-top:14px}
#customer-production .customer-sample img,#customer-finished .customer-sample img{height:160px;max-height:160px;object-fit:contain}
@media(max-width:700px){#customer-production .customer-sample img,#customer-finished .customer-sample img{height:125px;max-height:125px}}

/* V10.21 — Secure access form: no oversized inputs on mobile. */
.folio-access{max-width:680px;margin:0 auto 18px}
.access-heading{display:flex;gap:15px;align-items:flex-start;margin-bottom:19px}
.access-heading h2{margin:0 0 5px}.access-heading p{color:#637b8c;font-size:14px;margin:0}
.access-symbol{display:grid;place-items:center;background:#eaf6fa;border:1px solid #cfe6ee;color:#157ca2;border-radius:12px;width:46px;height:46px;flex:0 0 46px;font-size:28px}
.folio-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:16px}
.folio-fields label{font-weight:750;color:#24445d;font-size:13px;min-width:0}
.folio-fields input{display:block;margin-top:7px;box-sizing:border-box;width:100%;min-width:0;border:1px solid #c6d9e4;background:white;color:#193249;border-radius:10px;font:inherit;font-size:16px;font-weight:650;padding:13px 14px;min-height:50px;letter-spacing:.03em}
.folio-fields input:focus{outline:2px solid #2598bc;outline-offset:2px}
.folio-access-error{background:#fff0ea;border:1px solid #f1c9b8;border-radius:8px;color:#9a4536;padding:10px 13px;margin:0 0 14px;font-size:13px}
.folio-help{color:#708594;font-size:12px;margin:15px 0 0;line-height:1.5}
@media(max-width:630px){.folio-fields{grid-template-columns:1fr}.folio-access{padding:19px}.folio-access button{width:100%}}

/* V10.25: six stages, with a readable two-row timeline on narrow screens. */
.steps li{min-width:0;overflow-wrap:anywhere;line-height:1.35}
@media(max-width:560px){.steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}.steps li{font-size:11px}}

/* V10.26 — personal pickup appointment */
.personal-appointment{margin-top:18px;padding:14px;background:#f2f8fb;border:1px solid #d9e6ed;border-radius:13px;min-width:0}.personal-appointment h3{font-size:16px;margin:0 0 8px}.personal-appointment .field{gap:10px}.personal-map{height:220px;margin:14px 0;border:1px solid #d6e4eb;border-radius:10px;overflow:hidden;background:#eaf2f6}.personal-map iframe{width:100%;height:100%;border:0;display:block}.personal-map-fallback{display:flex;gap:12px;align-items:center;background:#e5eff5;padding:14px;margin:14px 0;border-radius:10px}.personal-map-fallback>span{font-size:32px;color:#237b9e}.personal-map-fallback strong,.personal-map-fallback small{display:block}.personal-map-fallback small{color:#526c7c;font-size:12px}.personal-appointment .action-primary{margin-top:12px;width:100%;text-align:center;white-space:normal}.personal-appointment .subtext{margin:0}.personal-map.hidden,.personal-map-fallback.hidden{display:none!important}@media(max-width:380px){.personal-appointment{padding:10px}.personal-map{height:200px}}

/* V10.37 · Shipment timeline */
.shipment-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.shipment-head h2{margin:4px 0 8px}.shipment-state{display:inline-block;max-width:100%;overflow-wrap:anywhere;font-size:13px;font-weight:750;padding:7px 12px;border-radius:9px;background:#e8f3fa;color:#1d6384}.shipment-state[data-status=Delivered]{background:#e5f4e9;color:#20683a}.shipment-state[data-status=Exception],.shipment-state[data-status=DeliveryFailure]{background:#fff0e5;color:#8b4821}.shipment-meta{margin:5px 0;color:var(--sub);font-size:13px}.shipment-events{list-style:none;padding:0;margin:20px 0 0 8px}.shipment-events li{position:relative;border-left:2px solid #cbdde6;padding:0 0 21px 20px;overflow-wrap:anywhere}.shipment-events li:last-child{padding-bottom:0;border-left-color:transparent}.shipment-events li:before{content:'';position:absolute;top:5px;left:-6px;width:10px;height:10px;border-radius:50%;background:#7fa5b8;border:2px solid white;box-shadow:0 0 0 1px #cbdde6}.shipment-events li:first-child:before{background:#198bb2}.shipment-events strong,.shipment-events time,.shipment-events small{display:block}.shipment-events strong{font-size:14px}.shipment-events time,.shipment-events small{font-size:12px;color:var(--sub);margin-top:3px}
