/* RS Cargos – estilos del sitio */
:root{
  --red:#991915; --red-dark:#7A130F; --red-light:#E0453C; --red-soft:#FBE7E5;
  --ink:#1A1A1A; --muted:#555; --muted2:#6B6B6B; --line:#E8E8E8;
  --dark:#141414; --dark2:#1F1F1F; --bg2:#F6F6F5; --white:#fff;
  --radius:18px; --wrap:1200px;
  --head:'Jost',Inter,system-ui,sans-serif; --body:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-dark)}
h1,h2,h3{font-family:var(--head);line-height:1.1;margin:0;letter-spacing:-.5px}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 12px;z-index:100}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--red-light);outline-offset:2px}

/* Botones */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 22px;border-radius:12px;font:600 16px var(--body);border:1px solid transparent;cursor:pointer;text-align:center;transition:background .15s,color .15s,border-color .15s}
.btn-sm{padding:11px 16px;font-size:15px;border-radius:10px}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-dark{background:var(--dark);color:#fff}.btn-dark:hover{background:#000;color:#fff}
.btn-white{background:#fff;color:var(--red)}.btn-white:hover{background:#f3f3f3}
.btn-outline{border-color:#CFCFCF;color:var(--ink);background:transparent}.btn-outline:hover{border-color:var(--ink);color:var(--ink)}
.btn-ghost{border-color:#4A4A4A;color:#fff}.btn-ghost:hover{border-color:#fff;color:#fff}
.btn-line-white{border-color:#fff;color:#fff}.btn-line-white:hover{background:rgba(255,255,255,.1);color:#fff}
.btn[disabled]{opacity:.6;cursor:wait}
.btns{display:flex;gap:12px;flex-wrap:wrap}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #ECECEC}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;padding-bottom:12px}
.brand img{height:54px;width:auto;display:block}
.nav{display:flex;gap:26px;font-size:15px;font-weight:500}
.nav a{color:#333}.nav a:hover,.nav a.active{color:var(--red)}
.nav a.active{font-weight:700}
.nav-mobile-only{display:none}
.header-cta{display:flex;gap:10px;align-items:center}
.menu-btn{display:none;background:none;border:0;padding:6px;color:var(--ink);cursor:pointer}

/* Secciones */
.section{padding:88px 0}
.section-gray{background:var(--bg2)}
.section-dark{background:var(--dark);color:#fff}
.section-red{background:var(--red);color:#fff}
.eyebrow{display:block;font-size:14px;font-weight:700;letter-spacing:2px;color:var(--red);text-transform:uppercase}
.section-dark .eyebrow,.hero .eyebrow{color:var(--red-light)}
.section-head{display:flex;flex-direction:column;gap:12px;max-width:680px;margin-bottom:40px}
.section-head h2{font-size:clamp(30px,4vw,42px)}
.section-head p{font-size:17px;color:var(--muted)}
.section-dark .section-head p{color:#C9C9C9}
.grid{display:grid;gap:20px}
.g4{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.g2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:12px}
.card-gray{background:var(--bg2);border:0}
.card-dark{background:var(--dark2);border:1px solid #333;color:#fff}
.card h3{font-size:21px}
.card p{font-size:15px;color:var(--muted)}
.card-dark p{color:#BDBDBD}
.icon{width:32px;height:32px;color:var(--red)}
.card-dark .icon{color:var(--red-light)}
.more{font-weight:600;font-size:15px;margin-top:auto;padding-top:4px}

/* Hero */
.hero{background:var(--dark);color:#fff}
.hero-in{display:flex;flex-wrap:wrap;gap:56px;align-items:center;padding-top:80px;padding-bottom:88px}
.hero-text{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:22px}
.pill{align-self:flex-start;padding:6px 12px;border:1px solid #3A3A3A;border-radius:999px;font-size:14px;color:#D4D4D4}
.hero h1{font-size:clamp(38px,5.4vw,62px);line-height:1.04;letter-spacing:-1.5px}
.hero h1 span{color:var(--red-light)}
.hero-lead{font-size:19px;color:#C9C9C9;max-width:560px}
.stats{display:flex;gap:32px;flex-wrap:wrap;font-size:15px;color:#BDBDBD;padding-top:6px}
.stats b{color:#fff;font:700 22px var(--head);margin-right:4px}
.track-card{flex:1 1 360px;min-width:0;background:#fff;color:var(--ink);border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:14px}
.track-card h2{font-size:24px;display:flex;align-items:center;gap:10px}
.track-card p{font-size:15px;color:var(--muted)}
.page-hero{background:var(--dark);color:#fff;padding:64px 0 72px}
.page-hero h1{font-size:clamp(34px,4.6vw,52px);letter-spacing:-1px;max-width:820px;margin:14px 0 14px}
.page-hero p{font-size:18px;color:#C9C9C9;max-width:660px}

/* Formularios */
.form{display:flex;flex-direction:column;gap:16px}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
label,.label{font-size:14px;font-weight:600;color:#333}
.hint{font-size:13px;color:var(--muted2);font-weight:400}
input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea{width:100%;padding:14px 16px;border:1px solid #CFCFCF;border-radius:12px;font:16px var(--body);background:#fff;color:var(--ink)}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px rgba(153,25,21,.15)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:#333;font-weight:400}
.check input{margin-top:3px;accent-color:var(--red);width:18px;height:18px}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.seg{display:flex;gap:8px;background:#F1F1F0;padding:6px;border-radius:14px;flex-wrap:wrap}
.seg button{flex:1 1 120px;border:0;background:transparent;padding:12px 8px;border-radius:10px;font:600 15px var(--body);color:var(--muted);cursor:pointer}
.seg button[aria-pressed=true]{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.choice{display:flex;gap:10px;flex-wrap:wrap}
.choice label{flex:1 1 140px;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px;border:1px solid #CFCFCF;border-radius:12px;cursor:pointer;font-weight:600}
.choice input{accent-color:var(--red)}
.choice label:has(input:checked){border:2px solid var(--red);color:var(--red)}
.alert{border-radius:14px;padding:16px 18px;font-size:15px}
.alert-ok{background:#E7F5EC;color:#14532D;border:1px solid #BFE3CC}
.alert-err{background:var(--red-soft);color:#5A1410;border:1px solid #F3C9C5}
.alert-info{background:#fff;border:1px dashed #CFCFCF;color:#333}

/* Pasos */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:28px}
.step{display:flex;flex-direction:column;gap:12px}
.step .n{width:48px;height:48px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font:700 20px var(--head)}
.step h3{font-size:20px}
.step p{font-size:15px;color:var(--muted)}

/* Tarifas */
.price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.price b{font:700 46px var(--head)}
.price span{color:var(--muted)}
.card-dark .price span{color:#BDBDBD}
.card ul{margin:0;padding-left:20px;display:grid;gap:8px;font-size:15px;color:#333}
.rows{display:grid;gap:10px}
.row{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.row span:first-child{color:var(--muted)}
.row span:last-child{font-weight:600;text-align:right}
.quote{background:var(--dark);color:#fff;border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:16px;flex:1 1 340px;min-width:0;position:sticky;top:96px}
.quote .total{font:700 56px var(--head);line-height:1}
.quote .rows{border-top:1px solid #333;padding-top:16px}
.quote .row span:first-child{color:#BDBDBD}
.quote small{color:#BDBDBD;font-size:13px}
.split{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.split > .main{flex:999 1 560px;min-width:0}

/* Rastreo */
.result-head{display:flex;gap:16px;align-items:center}
.ok-icon{width:48px;height:48px;border-radius:50%;background:#E7F5EC;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#1E7A44}
.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:16px;padding-top:18px;border-top:1px solid #EEE}
.kv div{display:flex;flex-direction:column;gap:4px}
.kv span{font-size:13px;color:var(--muted2)}
.kv b{font-size:17px}
.pkg-photo{border-radius:14px;max-height:320px;object-fit:contain;background:var(--bg2);align-self:flex-start}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chips a{padding:8px 14px;border:1px solid #DADADA;border-radius:999px;font-size:14px;font-weight:600;color:#333;background:#fff}
.chips a:hover{border-color:var(--ink)}

/* FAQ */
.faq-layout{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.faq-side{flex:1 1 240px;display:flex;flex-direction:column;gap:6px;position:sticky;top:96px}
.faq-side a{padding:11px 14px;border-radius:10px;font-weight:600;color:#333}
.faq-side a:hover{background:var(--bg2)}
.faq-main{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:40px}
.faq-group h2{font-size:26px;margin-bottom:8px}
details{border-bottom:1px solid #E5E5E5}
details:first-of-type{border-top:1px solid #E5E5E5}
summary{list-style:none;cursor:pointer;padding:20px 36px 20px 0;font:600 18px var(--head);position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:4px;top:16px;color:var(--red);font-size:24px;font-weight:400}
details[open] summary::after{content:"−"}
details p{padding:0 0 20px;color:var(--muted);font-size:15px}

/* Banda CTA / Instagram */
.band{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.band h2{font-size:clamp(28px,3.6vw,40px)}
.band p{font-size:18px;color:#FFE3E0;margin-top:10px}
.ig{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:20px;padding:32px;background:linear-gradient(135deg,#fff 60%,var(--red-soft))}
.ig h2{font-size:clamp(26px,3.4vw,38px)}
.ig p{color:var(--muted);margin-top:8px}
#ig-feed:empty{display:none}

/* Legal */
.prose{max-width:820px;margin:0 auto;font-size:16px;color:#333}
.prose h2{font-size:24px;margin:32px 0 12px}
.prose p,.prose ul{margin:0 0 14px}
.prose ul{padding-left:22px}
.prose li{margin-bottom:6px}

/* China */
.notice{border:2px solid var(--red);border-radius:18px;padding:24px 28px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;background:#fff}
.addr{background:var(--bg2);border-radius:14px;padding:18px;position:relative}
.addr h3{font:600 13px var(--body);color:var(--muted2);letter-spacing:1px;text-transform:uppercase;margin-bottom:8px}
.addr pre{margin:0;white-space:pre-wrap;font:15px/1.6 var(--body)}
.copy{position:absolute;top:14px;right:14px;border:1px solid #CFCFCF;background:#fff;border-radius:10px;padding:8px 12px;font:600 13px var(--body);cursor:pointer}
.copy.ok{background:var(--dark);color:#fff;border-color:var(--dark)}
.mark{display:flex;gap:18px;align-items:center;flex-wrap:wrap;border:2px solid var(--red);border-radius:16px;padding:18px 20px}
.mark b{font:700 30px var(--head);white-space:nowrap}
.mark em{font-style:normal;color:var(--red);font-size:20px;border-bottom:2px dashed var(--red)}
.zh{border-left:4px solid var(--red);padding:4px 0 4px 14px;color:#333}
.zh p{margin:8px 0}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}
.tabs button{border:1px solid #4A4A4A;background:transparent;color:#fff;padding:12px 18px;border-radius:12px;font:600 16px var(--body);cursor:pointer}
.tabs button[aria-selected=true]{background:#fff;color:var(--dark);border-color:#fff}

/* Footer */
.site-footer{background:var(--dark);color:#D4D4D4;padding:64px 0 32px;font-size:14px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px}
.footer-grid > div{display:flex;flex-direction:column;gap:10px}
.footer-grid h3{font:600 15px var(--body);color:#fff}
.footer-grid a{color:#D4D4D4}.footer-grid a:hover{color:#fff}
.footer-brand img{height:80px;width:auto}
.footer-bottom{border-top:1px solid #2E2E2E;margin-top:40px;padding-top:20px;font-size:13px;color:#9A9A9A}
.mobile-bar{display:none}

/* Responsive */
@media (max-width:1060px){
  .nav{position:fixed;inset:79px 0 auto 0;background:#fff;flex-direction:column;gap:0;padding:8px 24px 20px;border-bottom:1px solid #E5E5E5;box-shadow:0 12px 24px rgba(0,0,0,.08);display:none}
  .nav.open{display:flex}
  .nav a{padding:14px 0;border-bottom:1px solid #F0F0F0;font-size:17px}
  .nav-mobile-only{display:block}
  .menu-btn{display:block}
}
@media (max-width:720px){
  .wrap{padding:0 18px}
  .brand img{height:44px}
  .hide-sm{display:none}
  .section{padding:56px 0}
  .hero-in{padding-top:40px;padding-bottom:40px;gap:28px}
  .hero-lead{font-size:16px}
  .stats{justify-content:space-between;gap:12px}
  .stats span{display:flex;flex-direction:column}
  .track-card,.card,.quote{padding:22px}
  .quote{position:static}
  .page-hero{padding:44px 0 48px}
  .price b{font-size:38px}
  .faq-side{position:static}
  .mobile-bar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid #E5E5E5;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
  .mobile-bar .btn{flex:1;padding:13px}
  body{padding-bottom:76px}
  .copy{position:static;margin-bottom:10px}
}
.fact{background:var(--bg2);border-radius:14px;padding:16px}
.fact b{display:block;font:700 26px var(--head)}
.fact span{color:var(--muted);font-size:14px}
.warn{background:var(--red-soft);border:1px solid #F3C9C5;border-radius:14px;padding:16px 18px;color:#5A1410}
.card h2 + .addr,.addr + .addr{margin-top:4px}
.footer-brand img{align-self:flex-start}

/* Fotos */
.hero{background:linear-gradient(90deg,rgba(20,20,20,.97) 0%,rgba(20,20,20,.88) 45%,rgba(20,20,20,.55) 100%),url(/assets/img/fotos/compras-online.jpg) center right/cover no-repeat}
.page-hero.has-img{background-size:cover;background-position:center;background-repeat:no-repeat}
.card-photo{padding:0;overflow:hidden}
.card-photo img{width:100%;height:170px;object-fit:cover;display:block}
.card-photo .card-body{padding:24px 26px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.photo-split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.photo-split > .ps-text{flex:999 1 520px;min-width:0}
.photo-split > .ps-img{flex:1 1 360px;min-width:0}
.ps-img img{width:100%;height:100%;min-height:320px;max-height:460px;object-fit:cover;border-radius:22px;display:block}
.photo-band{position:relative;border-radius:22px;overflow:hidden;min-height:280px;display:flex;align-items:flex-end;color:#fff;background-size:cover;background-position:center}
.photo-band::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.75),rgba(0,0,0,.1) 70%)}
.photo-band > *{position:relative}
@media (max-width:720px){
  .hero{background:linear-gradient(180deg,rgba(20,20,20,.86),rgba(20,20,20,.97) 55%),url(/assets/img/fotos/compras-online.jpg) center top/cover no-repeat}
  .card-photo img{height:150px}
  .ps-img img{min-height:220px}
}
